From 07920a4917ebdc4aba2833d2b3257874a8cfa43c Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 13 Jun 2023 13:24:20 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=20select=20=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FormFields/Select2.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/FormFields/Select2.vue b/src/components/FormFields/Select2.vue index 835fdc50f..0a04e6117 100644 --- a/src/components/FormFields/Select2.vue +++ b/src/components/FormFields/Select2.vue @@ -216,7 +216,7 @@ export default { this.$log.debug('Value is : ', this.value) this.iValue = this.value this.initialized = true - }) + }, 10) } this.$nextTick(() => { // 因为elform存在问题,这个来清楚验证 @@ -315,6 +315,8 @@ export default { if (this.iOptions.length === 0) { this.remote = false } + } else { + this.remote = false } this.iValue = this.value },