mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 02:16:43 +08:00
Merge branch 'pingcode-1104' into dev0515
This commit is contained in:
@@ -190,8 +190,6 @@ export default {
|
||||
if(this.loading) {
|
||||
this.isLoading = true;
|
||||
}
|
||||
this.$emit('isTrue',true)
|
||||
this.$emit('isFalse',true)
|
||||
return true;
|
||||
},
|
||||
// 文件个数超出
|
||||
@@ -224,12 +222,15 @@ export default {
|
||||
if(delIdx>-1){
|
||||
fileList.splice(delIdx,1);
|
||||
}
|
||||
this.$emit('isTrue',true)
|
||||
this.$emit('isFalse',true)
|
||||
} else {
|
||||
this.isLoading = false;
|
||||
//this.fileList = [];
|
||||
if(this.limit == 1){
|
||||
this.fileList = [];
|
||||
}
|
||||
this.$message({message:"上传失败",type:'error',offset:100});
|
||||
}
|
||||
|
||||
this.$emit("success", res);
|
||||
},
|
||||
// 删除文件
|
||||
|
||||
Reference in New Issue
Block a user