瀏覽代碼

bug修改

wangfei 6 年之前
父節點
當前提交
25dee7f150
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/pages/system/goodsManager/goodManager/index.vue

+ 1
- 1
src/pages/system/goodsManager/goodManager/index.vue 查看文件

@@ -53,7 +53,7 @@
53 53
         </el-table-column>
54 54
         <el-table-column label="图片" width="300">
55 55
           <template slot-scope="scope">
56
-            <img :src="(scope.row.Images[0] || {}).ImgUrl" style="width:200px;" />
56
+            <img :src="((scope.row.Images || [])[0] || {}).ImgUrl" style="width:200px;" />
57 57
           </template>
58 58
         </el-table-column>
59 59
         <el-table-column prop="Price" label="价格">