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 @@