RuoYi
2021-07-25 64f6d28441e2036d2f21f9c22c2bc864733f588a
ruoyi-ui/src/components/ImageUpload/index.vue
@@ -116,7 +116,7 @@
  methods: {
    // 删除图片
    handleRemove(file, fileList) {
      const findex = this.fileList.indexOf(file.name);
      const findex = this.fileList.map(f => f.name).indexOf(file.name);
      this.fileList.splice(findex, 1);
      this.$emit("input", this.listToString(this.fileList));
    },