diff --git a/core/apps/AppAccount/AppAccount.vue b/core/apps/AppAccount/AppAccount.vue index 4a239a20..5ed271a9 100644 --- a/core/apps/AppAccount/AppAccount.vue +++ b/core/apps/AppAccount/AppAccount.vue @@ -243,7 +243,7 @@ export default { this.$message.success('同步成功') this.getList() } - }).finally(() => this.$hideLoading(loading)) + }).finally(() => loading.close()) }, syncDept() { let loading = this.$loading({ @@ -256,7 +256,7 @@ export default { this.$message.success('同步成功') this.getTree() } - }).finally(() => this.$hideLoading(loading)) + }).finally(() => loading.close()) } }, created() {