疯狂的狮子Li
2021-07-13 83905db7170ea5981949e0f4b56695fb4ee02c83
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));
    },