fix : 修复页面细节

This commit is contained in:
2024-05-31 20:56:58 +08:00
parent 5a1e1848cb
commit 5ae8e4be78
32 changed files with 550 additions and 167 deletions

View File

@@ -128,6 +128,12 @@ const handleSubmit = (instance) => {
instance.validate(async (valid) => {
if (JSON.stringify(file.value) === "{}") {
attachment.value.validate()
ElNotification({
title: '提示',
message: '请上传申请书附件',
type: 'error'
})
return;
} else {
attachment.value.clearValidate()
}
@@ -170,6 +176,7 @@ const handleResubmit = async () => {
let fileArray
if (JSON.stringify(file.value) === "{}" || attachment.value.singleFile === null) {
attachment.value.validate()
return;
} else {
attachment.value.clearValidate()
}