@@ -296,6 +296,12 @@
};
const handleSubmit = async () => {
+
+ if(!form.fileUrl || form.fileUrl.length === 0) {
+ ElMessage.error('请先上传附件!');
+ return;
+ }
const res = await handleValidate();
if (!res) return;
try {