mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-22 23:50:22 +08:00
fix: 表单校验失败会关闭弹窗问题
This commit is contained in:
@@ -177,7 +177,7 @@ function handleOpen(options = {}) {
|
||||
}
|
||||
|
||||
async function onSave() {
|
||||
if (!(await validation())) return
|
||||
await validation()
|
||||
okLoading.value = true
|
||||
try {
|
||||
if (!modalForm.value.parentId) modalForm.value.parentId = null
|
||||
|
||||
Reference in New Issue
Block a user