|
@@ -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>
|