修改bug
This commit is contained in:
parent
b3ccdec6da
commit
1594d736d7
@ -260,7 +260,11 @@
|
|||||||
this.$message({message: `请上传大小需在${this.fileSize}MB以内的文件`, type: 'warning'});
|
this.$message({message: `请上传大小需在${this.fileSize}MB以内的文件`, type: 'warning'});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
// 文件名称不能包含特殊字符
|
||||||
|
if (!this.$verify.specialChar(param.file.name)) {
|
||||||
|
this.$message.error('文件名称包含非法字符,请重新上传!')
|
||||||
|
return
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
// let formData = new FormData()
|
// let formData = new FormData()
|
||||||
// formData.append('file', param.file)
|
// formData.append('file', param.file)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user