zhanghui 2 лет назад
Родитель
Сommit
f0c420661d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      pages/index/index.vue

+ 2 - 2
pages/index/index.vue

@@ -28,8 +28,8 @@
                 <image  :src="userInfo.selfPhotoUrl || '/../static/logo.png'" mode=""></image>
               </view>
               <view class="text">
-                <view class="phone">{{ userInfo.cellPhone }}</view>
-                <view class="welcome">尊敬的{{ userInfo.ncikName }},下午好~</view>
+                <view class="phone">{{ userInfo.cellPhone || ''}}</view>
+                <view class="welcome">尊敬的{{ userInfo.ncikName || ''}},下午好~</view>
               </view>
               <view @click="gotoReceiveCoupons()" class="arrow-right">
                 <!-- <image v-if="userInfo.wxQrCode" class="qrcode" :src="userInfo.qrcode" mode=""></image> -->