From 5cc17de1e062f7c8073ea3c012d848f7d19933da Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 15 Jun 2023 14:28:04 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=20change=20value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FormFields/JSONManyToManySelect/ValueField.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FormFields/JSONManyToManySelect/ValueField.vue b/src/components/FormFields/JSONManyToManySelect/ValueField.vue index dfb87c1a4..1dedb4dad 100644 --- a/src/components/FormFields/JSONManyToManySelect/ValueField.vue +++ b/src/components/FormFields/JSONManyToManySelect/ValueField.vue @@ -54,9 +54,9 @@ export default { this.$emit('input', value) }, setTypeAndValue() { - this.loading = false + this.loading = true this.type = this.getType() - this.$log.debug('ValueField: Type: ', this.type, 'Value: ', this.value) + this.$log.debug('ValueField: Type: ', this.type, 'Value: ', this.value, 'attr: ', this.attr) if (['select', 'array'].includes(this.type) && typeof this.value === 'string') { const value = this.value ? this.value.split(',') : [] this.handleInput(value)