From 61cd503e2743e89d60e2feb57ec7cff1ebd486bc Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Wed, 9 Jul 2025 11:38:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=AE=BE=E7=BD=AE=20?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E8=AE=BE=E7=BD=AE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/domainBind.vue | 3 ++- src/views/elementGroups.vue | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/domainBind.vue b/src/components/domainBind.vue index 8ce7a26..a8caa0e 100644 --- a/src/components/domainBind.vue +++ b/src/components/domainBind.vue @@ -218,11 +218,12 @@ export default { } }).then(response => { if(response.status){ - this.domain = that.formData.domain + that.domain = that.formData.domain that.domainOptions.unshift({ label: that.formData.domain, value: that.formData.domain }) + that.$emit('handleOptions', that.domainOptions) that.show_step = false that.dialogVisible = false that.$message.success('添加成功'); diff --git a/src/views/elementGroups.vue b/src/views/elementGroups.vue index 939e9ac..ace998c 100644 --- a/src/views/elementGroups.vue +++ b/src/views/elementGroups.vue @@ -1,7 +1,7 @@