From 8f2a61bc768bda23fdc081ed87013f004d02aeef Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 25 Dec 2023 14:20:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=9A=E9=80=89=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E5=99=A8=E5=BF=85=E5=A1=AB=E6=97=B6=E7=A9=BA?= =?UTF-8?q?=E5=80=BC=E6=B2=A1=E6=9C=89=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/components/widget/deWidget/DeSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/components/widget/deWidget/DeSelect.vue b/core/frontend/src/components/widget/deWidget/DeSelect.vue index 8ead79adde..5972332399 100644 --- a/core/frontend/src/components/widget/deWidget/DeSelect.vue +++ b/core/frontend/src/components/widget/deWidget/DeSelect.vue @@ -145,7 +145,7 @@ export default { return this.element.serviceName === 'textSelectWidget' && this.element.options.attrs.selectFirst }, showRequiredTips() { - return this.inDraw && this.element.options.attrs.required && !this.value + return this.inDraw && this.element.options.attrs.required && (!this.value || this.value.length === 0) } },