snow 1 year ago
parent
commit
ad9a37a330
2 changed files with 2 additions and 2 deletions
  1. 0 0
      dist/static/js/0.js
  2. 2 2
      src/views/goodStore/supplierGoodsCost/detail.vue

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/0.js


+ 2 - 2
src/views/goodStore/supplierGoodsCost/detail.vue

@@ -52,9 +52,9 @@
                       <div style="max-height: 24px; overflow: hidden">
                         <el-image
                           style="height: 24px; width: 24px; margin-right: 5px"
-                          v-for="(img, index) in sitem.good_img.split(',')"
+                          v-for="(img, index) in Array.isArray(sitem.good_img) ? sitem.good_img : sitem.good_img.split(',')"
                           :src="img"
-                          :preview-src-list="sitem.good_img.split(',')"
+                          :preview-src-list="Array.isArray(sitem.good_img) ? sitem.good_img : sitem.good_img.split(',')"
                           :key="index"
                         />
                       </div>

Some files were not shown because too many files changed in this diff