Merge branch 'zcwy_0723_hotforum' into dev_master

This commit is contained in:
nisen
2024-09-27 17:40:42 +08:00

View File

@@ -217,13 +217,16 @@ export default {
if(delIdx>-1){ if(delIdx>-1){
fileList.splice(delIdx,1); fileList.splice(delIdx,1);
} }
this.$emit("success", res);
} else { } else {
this.isLoading = false; this.isLoading = false;
//this.fileList = []; if(this.limit == 1){
this.fileList = [];
}
this.$message({message:"上传失败",type:'error',offset:100}); this.$message({message:"上传失败",type:'error',offset:100});
} }
this.$emit("success", res); // this.$emit("success", res);
}, },
// 删除文件 // 删除文件
handleDelete(index) { handleDelete(index) {