RuoYi
2024-08-30 8a0a3a03fe927a1b6f29c0cd0d168cf7724c3f18
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));
      }