张延森 4 年之前
父節點
當前提交
8ce3213c53
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      src/view/secondhand/components/secondhandcard/index.vue

+ 1
- 2
src/view/secondhand/components/secondhandcard/index.vue 查看文件

5
         <van-image
5
         <van-image
6
           width="120"
6
           width="120"
7
           height="96"
7
           height="96"
8
-          src="https://img.yzcdn.cn/vant/cat.jpeg"
8
+          :src="data.imgUrl || 'https://img.yzcdn.cn/vant/empty-image-default.png'"
9
         />
9
         />
10
       </div>
10
       </div>
11
       <div class="card-right">
11
       <div class="card-right">
176
       default: () => {},
176
       default: () => {},
177
     },
177
     },
178
   },
178
   },
179
-  mounted() {},
180
 
179
 
181
   setup(props) {
180
   setup(props) {
182
     // const {datas={}} =
181
     // const {datas={}} =