fix : 修复提交校验

This commit is contained in:
2024-07-03 00:38:21 +08:00
parent 928f41112c
commit 0d7c303397
9 changed files with 30 additions and 17 deletions

View File

@@ -173,11 +173,12 @@ const handleSubmit = (instance) => {
if (!instance) return
instance.validate(async (valid) => {
if (!valid) {
return ElNotification({
ElNotification({
title: '提示',
message: '请完善数据,再提交!',
type: 'error'
})
return;
}
instance.clearValidate()
tableForm.tableData.forEach(item => {