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