Pre Merge pull request !314 from raymonddddd/N/A

This commit is contained in:
raymonddddd 2021-09-16 07:33:46 +00:00 committed by Gitee
commit 1a98878d5e

View File

@ -117,6 +117,7 @@ export default {
//
handleRemove(file, fileList) {
const findex = this.fileList.map(f => f.name).indexOf(file.name);
//
if(findex > -1) {
this.fileList.splice(findex, 1);
this.$emit("input", this.listToString(this.fileList));