From 284fcefe2b08662c190567f21b4dd96fc3ebfbed Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 6 Apr 2022 10:09:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=89=E9=A1=B9=E5=8D=A1=E7=A9=BA?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=B7=E5=BC=8F=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/widget/DeWidget/DeTabs.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 7e624a59b7..7b6d5001d4 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -93,7 +93,7 @@ /> {{ $t('table.cancel') }} - {{ $t('table.confirm') }} + {{ $t('table.confirm') }} @@ -202,6 +202,9 @@ export default { }, borderActiveColor() { return this.element && this.element.style && this.element.style.headBorderActiveColor || 'none' + }, + titleValid() { + return !!this.textarea && !!this.textarea.trim() } }, watch: {