From 929e869e36d863c44e50d76a1790323e4756dd56 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 4 Jul 2022 10:29:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E8=BF=87=E6=BB=A4=E5=99=A8=E5=88=A0=E9=99=A4=E5=B8=A6?= =?UTF-8?q?=E6=9C=89sql=E6=B3=A8=E5=85=A5=E7=9A=84=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=90=8E=E4=BE=9D=E7=84=B6=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=A1=AE=E8=AE=A4=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/widget/DeWidget/DeSelect.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/components/widget/DeWidget/DeSelect.vue b/frontend/src/components/widget/DeWidget/DeSelect.vue index 9b1571bacc..acbf3e3e7c 100644 --- a/frontend/src/components/widget/DeWidget/DeSelect.vue +++ b/frontend/src/components/widget/DeWidget/DeSelect.vue @@ -128,6 +128,7 @@ export default { this.element.options.attrs.fieldId.length > 0 && method(param).then(res => { this.datas = this.optionDatas(res.data) + bus.$emit('valid-values-change', true) }).catch(e => { bus.$emit('valid-values-change', false) }) || (this.element.options.value = '') @@ -169,6 +170,7 @@ export default { this.show = true this.handleCoustomStyle() }) + bus.$emit('valid-values-change', true) }).catch(e => { bus.$emit('valid-values-change', false) }) || (this.element.options.value = '') @@ -226,6 +228,7 @@ export default { } method({ fieldIds: this.element.options.attrs.fieldId.split(','), sort: this.element.options.attrs.sort }).then(res => { this.datas = this.optionDatas(res.data) + bus.$emit('valid-values-change', true) }).catch(e => { bus.$emit('valid-values-change', false) })