wangxy 2 månader sedan
förälder
incheckning
db36e3901e
1 ändrade filer med 2 tillägg och 1 borttagningar
  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>