Mr.Zhang
2023-10-13 70afbbb111735076b1356dcf947dd9773047e86c
平台端
已修改2个文件
17340 ■■■■■ 文件已修改
company_admin/package-lock.json 17335 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
platform/src/components/common/UploadImage.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company_admin/package-lock.json
文件太大
platform/src/components/common/UploadImage.vue
@@ -70,7 +70,6 @@
  watch: {
    fileList: {
      handler(val) {
        console.log(val);
        if (val.length==0) {
          this.realList = []
          this.srcList = []
@@ -121,8 +120,8 @@
      this.showViewer = false
    },
    handleRemove(file) {
      console.log(this.fileList);
      let tempIndex = this.realList.findIndex(item => item.url === file.url)
      console.log(file.url);
      let tempIndex = this.fileList.findIndex(item => item.url === file.url)
      // debugger
      this.realList.splice(tempIndex, 1)
      this.fileList.splice(tempIndex, 1)