修复点击删除后再点取消控制台报错,并修改样式

Signed-off-by: 梁剑锋 <1822213252@qq.com>
This commit is contained in:
梁剑锋 2022-08-23 08:15:13 +00:00 committed by Gitee
parent ef58e23a40
commit bd9d25efcd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -561,8 +561,8 @@ export default {
this.loading = false; this.loading = false;
this.getList(); this.getList();
this.#[[$modal]]#.msgSuccess("删除成功"); this.#[[$modal]]#.msgSuccess("删除成功");
}).catch(() => {}) }).catch(() => {
.finally(() => { }).finally(() => {
this.loading = false; this.loading = false;
}); });
}, },