修改bug

This commit is contained in:
张运江 2025-02-13 17:15:42 +08:00
parent b3ccdec6da
commit 1594d736d7

View File

@ -260,7 +260,11 @@
this.$message({message: `请上传大小需在${this.fileSize}MB以内的文件`, type: 'warning'});
return
}
//
if (!this.$verify.specialChar(param.file.name)) {
this.$message.error('文件名称包含非法字符,请重新上传!')
return
}
try {
// let formData = new FormData()
// formData.append('file', param.file)