lilei 3 anni fa
parent
commit
16e7249b86
2 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pages/report/report.vue
  2. BIN
      static/def_img@2x.png

+ 1 - 1
pages/report/report.vue

@@ -9,7 +9,7 @@
 						 <view class="flex align_center justify_between item-box" v-if="hasLogin" v-for="item in list" :key="item.id" @click="toDetail(item)">
 						 	<view class="l_box flex align_center">
 								<view class="l_imgs">
-									<u-image :src="item.checkResult.imgPath+'mid/img_sun.jpg'" height="7em" border-radius="0.4em"></u-image>
+									<u-image :src="item.checkResult?(item.checkResult.imgPath+'mid/img_sun.jpg'):'/static/def_img@2x.png'" height="7em" border-radius="0.4em"></u-image>
 								</view>
 								<view class="flex_1" style="padding: 0 0.6em;">
 									<view style="line-height: 1.5em;">

BIN
static/def_img@2x.png