From 1ac8878dcf71c9a7d9be94e2ab1ba433d8164c38 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 18 Dec 2023 10:48:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=A6=96=E9=A1=B9=E7=A6=81=E7=94=A8=E5=90=8E=E9=A6=96=E6=AC=A1?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E9=A1=B9?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=98=BE=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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/frontend/src/components/widget/deWidget/DeSelect.vue b/core/frontend/src/components/widget/deWidget/DeSelect.vue index 2c39072d9c..8ead79adde 100644 --- a/core/frontend/src/components/widget/deWidget/DeSelect.vue +++ b/core/frontend/src/components/widget/deWidget/DeSelect.vue @@ -162,8 +162,10 @@ export default { }, 'defaultValueStr': function(value, old) { if (value === old) return - this.value = this.fillValueDerfault() - this.changeValue(value) + this.$nextTick(() => { + this.value = this.fillValueDerfault() + this.changeValue(value) + }) }, 'element.options.attrs.fieldId': function(value, old) { if (value === null || typeof value === 'undefined' || value === old) return