Jelajahi Sumber

考试弹窗

wangxy 2 bulan lalu
induk
melakukan
db36e3901e
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      components/identification/identification.vue

+ 2 - 1
components/identification/identification.vue

@@ -8,7 +8,8 @@
 				<view class="ksxz-content-box">
 					<view class="phone-name-box">
 						<!-- #ifdef H5 -->
-							<img :src="data.icon" alt="">
+							<img :src="data.icon" v-if="data.icon" alt="">
+							<icon class="head-icon" v-else></icon>
 						<!-- <image :src="data.icon" /> -->
 						<!-- #endif -->
 					</view>