From 63663f3a50480410467390cd6e335d58bd08fb21 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 12:26:27 +0300 Subject: [PATCH] Revert "Typo fix" This reverts commit 16fdf8fb17533219cdd0efc849afbb4aa7b5d751. --- .../lib/basecomponent/BaseComponent.vue | 2 +- components/lib/datatable/TableBody.vue | 19 +++++++++++++++---- doc/datatable/BasicDoc.vue | 7 +++---- doc/passthrough/UsePassThroughDoc.vue | 2 +- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index ff1c206da..d9ad7e7d7 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' && { [`${datasetPrefix}name`]: ObjectUtils.toFlatCase(this.$.type.name) }), + ...(key === 'root' && this.$.type.name === this.$options.hostName && { [`${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 784fba371..94e6bd99b 100755 --- a/components/lib/datatable/TableBody.vue +++ b/components/lib/datatable/TableBody.vue @@ -10,7 +10,7 @@ role="row" v-bind="ptm('rowGroupHeader')" > - +