|
@@ -843,12 +843,12 @@ export default {
|
|
|
if (fileExtension && fileExtension.indexOf(type) > -1) return true;
|
|
|
return false;
|
|
|
});
|
|
|
- if (!isTypeOk) {
|
|
|
- this.$message.error(
|
|
|
- `文件格式不正确, 请上传${this.fileType.join("/")}格式文件!`
|
|
|
- );
|
|
|
- return false;
|
|
|
- }
|
|
|
+ // if (!isTypeOk) {
|
|
|
+ // this.$message.error(
|
|
|
+ // `文件格式不正确, 请上传${this.fileType.join("/")}格式文件!`
|
|
|
+ // );
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
}
|
|
|
// 校检文件大小
|
|
|
if (this.fileSize) {
|