瀏覽代碼

Merge branch 'master' of http://159.75.201.17:3000/zwq/tuanfeng-pc-admin

aliyun0758874076 1 年之前
父節點
當前提交
ac7971b16e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/renovation/commoditySystem/index.vue

+ 1 - 1
src/views/renovation/commoditySystem/index.vue

@@ -49,7 +49,7 @@
           <el-table-column prop="productId" label="商品id" show-overflow-tooltip width="80" />
           <el-table-column label="商品主图" width="150" align="center">
             <template slot-scope="scope">
-              <img height="80" width="80" :src="scope.row.image" alt srcset>
+              <img height="80" width="80" :src="scope.row.image?scope.row.image.replace('http://', 'https://'):''" alt srcset>
             </template>
           </el-table-column>
           <el-table-column prop="productName" label="商品名称" width="180" />