fix : 修复项目立项校验

This commit is contained in:
2024-07-18 11:45:30 +08:00
parent 0c3580768b
commit 60d9b958bc
5 changed files with 66 additions and 25 deletions

View File

@@ -123,6 +123,17 @@ const getAttachment = (val) => {
singleList.value.push( compositeParam(val))
nextTick(() => {
showSingleTable.value = true
if (attachment.value.singleFile == null) {
attachment.value.validate()
ElNotification({
title: '提示',
message: '请上传附件',
type: 'error'
})
return;
} else {
attachment.value.clearValidate()
}
})
}
watch(() => singleList.value, (newVal) => {