wkyy 1 year ago
parent
commit
d1acccf1f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/parents/homePage/homePage.vue

+ 1 - 1
pages/parents/homePage/homePage.vue

@@ -5,7 +5,7 @@
 				启航教培管家·家长端
 				启航教培管家·家长端
 			</view>
 			</view>
 			<view class="identity" @click="showClick">
 			<view class="identity" @click="showClick">
-				<view class="picture">
+				<view class="picture" v-if="form.headPhoto != null">
 					<u-avatar class="avatar"
 					<u-avatar class="avatar"
 						:src="form.headPhoto != null ? form.headPhoto : '../../assets/img/head.png'" size="48">
 						:src="form.headPhoto != null ? form.headPhoto : '../../assets/img/head.png'" size="48">
 					</u-avatar>
 					</u-avatar>