From 73c89cfd7106e9770777316da518db7042bcf02a Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Thu, 11 Apr 2024 13:30:17 +0800 Subject: [PATCH] 1 --- src/views/store/auth.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/store/auth.vue b/src/views/store/auth.vue index 4246e68..3406c24 100644 --- a/src/views/store/auth.vue +++ b/src/views/store/auth.vue @@ -224,10 +224,12 @@ export default { this.$message.error('请选择需要提交的APPID') return false } - Api.audit({ appid: appids }).then((result) => { - this.$message.success(result.message, 1.5) - this.fetchData() - }) + Api.audit({ appid: appids }) + .then((result) => { + this.$message.success(result.message, 1.5) + this.fetchData() + }) + .finally(() => this.fetchData()) }, handleSearch() { this.queryParam.page = 1 @@ -285,7 +287,7 @@ export default { this.$message.success(result.message, 1.5) this.fetchData() }) - .finally(() => modal.destroy()) + .finally(this.fetchData()) }, }) },