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:22:35
* @LastEditTime: 2023/12/12 09:03:00
* @Email: zclzone@outlook.com
* Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
**********************************/
@@ -79,6 +79,7 @@ export const useCrud = ({ name, initForm = {}, doCreate, doDelete, doUpdate, ref
data && refresh(data)
} catch (error) {
okLoading.value = false
return false
}
}