|
@@ -320,10 +320,7 @@ const beforesubmitUpload = () => {
|
|
|
}
|
|
|
const subLoading = ref(false)
|
|
|
const submitUpload = async () => {
|
|
|
- if (!typevalue.value && !autoUpload.value && !isListFile.value) {
|
|
|
- window.$message.warning('请先选择附件类型')
|
|
|
- return
|
|
|
- }
|
|
|
+
|
|
|
if (fileListData.value.length === 0) {
|
|
|
window.$message.warning('请先上传文件')
|
|
|
return
|