whj há 1 ano atrás
pai
commit
d98028bb8e
1 ficheiros alterados com 1 adições e 4 exclusões
  1. 1 4
      src/views/idle-assets/modules/UpLoad.vue

+ 1 - 4
src/views/idle-assets/modules/UpLoad.vue

@@ -48,10 +48,7 @@ export default {
         record.sbFileList = []
         return
       }
-      this.defaultApplicationFileList = this.BaseTool.UPLOAD.transImg(record.sbFileList.map((item, i) => {
-        item.id = i
-        return item
-      }))
+      this.defaultApplicationFileList = this.BaseTool.UPLOAD.transImg(record.sbFileList)
     },
     getBase64 (file) {
       return new Promise((resolve, reject) => {