fix : 修复提交校验
This commit is contained in:
@@ -183,11 +183,12 @@ const handleSubmit = async (instance) => {
|
||||
if (!instance) return
|
||||
instance.validate(async (valid) => {
|
||||
if (!valid) {
|
||||
return ElNotification({
|
||||
ElNotification({
|
||||
title: '提示',
|
||||
message: '请完善数据,再提交!',
|
||||
type: 'error'
|
||||
})
|
||||
return;
|
||||
}
|
||||
let params = {
|
||||
fileList: fileList.value,
|
||||
|
||||
Reference in New Issue
Block a user