|
@@ -118,7 +118,6 @@ export default {
|
|
return this.isShowTip && (this.fileType || this.fileSize);
|
|
return this.isShowTip && (this.fileType || this.fileSize);
|
|
},
|
|
},
|
|
fileList() {
|
|
fileList() {
|
|
- console.log('qqqqqqqqqqqq')
|
|
|
|
const val = this.value;
|
|
const val = this.value;
|
|
if (val) {
|
|
if (val) {
|
|
// 首先将值转为数组
|
|
// 首先将值转为数组
|
|
@@ -191,8 +190,8 @@ export default {
|
|
flag = true
|
|
flag = true
|
|
}
|
|
}
|
|
if (flag == true) {
|
|
if (flag == true) {
|
|
- this.$message.error(
|
|
|
|
- `文件格式不正确, 规则:${name}!`
|
|
|
|
|
|
+ this.$message.warning(
|
|
|
|
+ `文件格式不正确!`
|
|
);
|
|
);
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|