1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 23:50:22 +08:00

perf: 弹窗在请求报错时不需要关闭

This commit is contained in:
zclzone
2023-12-12 09:04:01 +08:00
parent 14a9f503ae
commit 62fb5b7fe0
4 changed files with 12 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<!--------------------------------
- @Author: Ronnie Zhang
- @LastEditor: Ronnie Zhang
- @LastEditTime: 2023/12/05 21:29:12
- @LastEditTime: 2023/12/12 09:03:43
- @Email: zclzone@outlook.com
- Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
--------------------------------->
@@ -190,8 +190,9 @@ async function onSave() {
$message.success('保存成功')
emit('refresh', modalForm.value)
} catch (error) {
okLoading.value = false
console.error(error)
okLoading.value = false
return false
}
}