|
@@ -221,7 +221,7 @@ export default {
|
|
onChange(file, fileList) {
|
|
onChange(file, fileList) {
|
|
if(this.limit){
|
|
if(this.limit){
|
|
if(this.fileList.length>=this.limit){
|
|
if(this.fileList.length>=this.limit){
|
|
- this.$message.warning(`只能上传${this.$limit}个文件`)
|
|
|
|
|
|
+ this.$message.warning(`只能上传${this.limit}个文件`)
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
}
|
|
}
|