shish il y a 2 ans
Parent
commit
50cc44ccd1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      hdApp/src/admin/member/detail.vue

+ 1 - 1
hdApp/src/admin/member/detail.vue

@@ -39,7 +39,7 @@
               <view>
                 {{data.name}}
               </view>
-              <view style="margin-bottom:20upx;color:#333333">{{data.superInfo.name||''}} {{data.mobile}}</view>
+              <view style="margin-bottom:20upx;color:#333333">{{data.superInfo && data.superInfo.name ? data.superInfo.name : ''}} {{data.mobile}}</view>
               <view>
                 <text v-if="!$util.isEmpty(data.city)" style="margin-right:15upx;">{{data.city}}</text>
                 {{data.dist}}{{data.address}}{{data.floor}}