Holla-Tako 5 months ago
parent
commit
4867387ea7

+ 1 - 1
src/page/intelligentStorage/components/quantityDetectionDeviceConfigEdit.vue

@@ -142,7 +142,7 @@ export default {
142
       this.initHouseOptions();
142
       this.initHouseOptions();
143
     },
143
     },
144
     beforeAll() {
144
     beforeAll() {
145
-      if(this.isAdd) {
145
+      if(this.isAdd || this.isEdit) {
146
         this.form.updatePerson = this.realName
146
         this.form.updatePerson = this.realName
147
       }
147
       }
148
     },
148
     },

+ 1 - 1
src/page/mixin/legacyUpload.js

@@ -19,7 +19,7 @@ export default {
19
           return {
19
           return {
20
             id: d.id,
20
             id: d.id,
21
             name: d.originalFileName,
21
             name: d.originalFileName,
22
-            url: `${basicUploadUrl}${d.filePath}`
22
+            url: `${downloadBase}/${d.filePath}`
23
           }
23
           }
24
         })
24
         })
25
         console.log('文件列表', resp, this.fileList)
25
         console.log('文件列表', resp, this.fileList)