From 16fdf8fb17533219cdd0efc849afbb4aa7b5d751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 1 Sep 2023 11:54:34 +0300 Subject: [PATCH] Typo fix --- .../lib/basecomponent/BaseComponent.vue | 2 +- components/lib/datatable/TableBody.vue | 19 ++++--------------- doc/datatable/BasicDoc.vue | 7 ++++--- doc/passthrough/UsePassThroughDoc.vue | 2 +- 4 files changed, 10 insertions(+), 20 deletions(-) diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index d9ad7e7d7..ff1c206da 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -470,7 +470,7 @@ export default { self, globalPT, key !== 'transition' && { - ...(key === 'root' && this.$.type.name === this.$options.hostName && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }), + ...(key === 'root' && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }), [`${datasetPrefix}section`]: ObjectUtils.toFlatCase(key) } ); diff --git a/components/lib/datatable/TableBody.vue b/components/lib/datatable/TableBody.vue index 94e6bd99b..784fba371 100755 --- a/components/lib/datatable/TableBody.vue +++ b/components/lib/datatable/TableBody.vue @@ -10,7 +10,7 @@ role="row" v-bind="ptm('rowGroupHeader')" > - +