RuoYi
2024-04-08 1140a6c3339019d38af581f602fc72889ef30b58
ruoyi-ui/src/components/ImageUpload/index.vue
@@ -168,7 +168,7 @@
    // 删除图片
    handleDelete(file) {
      const findex = this.fileList.map(f => f.name).indexOf(file.name);
      if(findex > -1) {
      if (findex > -1) {
        this.fileList.splice(findex, 1);
        this.$emit("input", this.listToString(this.fileList));
      }