From 61a6b450514474dafc8ebac783b50017d6790b1d Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 17 Apr 2023 14:19:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=88=9B=E5=BB=BA=E8=B4=A6=E5=8F=B7=E4=B8=8D?= =?UTF-8?q?=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AccountListTable/AccountCreateUpdate.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/AccountListTable/AccountCreateUpdate.vue b/src/components/AccountListTable/AccountCreateUpdate.vue index 478e0897a..b255ae040 100644 --- a/src/components/AccountListTable/AccountCreateUpdate.vue +++ b/src/components/AccountListTable/AccountCreateUpdate.vue @@ -100,13 +100,13 @@ export default { disableFlashErrorMsg: true }).then((data) => { this.handleResult(data, null) + this.iVisible = iVisible + if (!iVisible) { + this.$emit('add', true) + } }).catch(error => { this.handleResult(null, error) }) - this.iVisible = iVisible - if (!iVisible) { - this.$emit('add', true) - } }, editAccount(form) { const data = { ...form }