浏览代码

2023.12.02
- 项目优化

zweiqin 1 年之前
父节点
当前提交
a9dfb1cf50
共有 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 prop="productId" label="商品id" show-overflow-tooltip width="80" />
           <el-table-column label="商品主图" width="150" align="center">
           <el-table-column label="商品主图" width="150" align="center">
             <template slot-scope="scope">
             <template slot-scope="scope">
-              <img height="80" width="80" :src="scope.row.image" alt srcset>
+              <img height="80" width="80" :src="scope.row.productImage.replace(/http:\/\//, 'https://')" alt srcset>
             </template>
             </template>
           </el-table-column>
           </el-table-column>
           <el-table-column prop="productName" label="商品名称" width="180" />
           <el-table-column prop="productName" label="商品名称" width="180" />