邹能昇 3 сар өмнө
parent
commit
3c5188da87

+ 2 - 1
nova-werun/components/my/index.wxml

@@ -14,7 +14,8 @@
                 <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241120/1ssc1a102512989.png?imageView2/1/w/200/h/200"></image>
                 <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241120/1ssc1a102512989.png?imageView2/1/w/200/h/200"></image>
             </view> -->
             </view> -->
             <view class="numberbox">
             <view class="numberbox">
-                <view class="num">{{profile1List2[0].user.mobile}} | {{profile1List2[0].department.name}}{{profile1List2[0].center.name}}</view>
+                <view wx:if="{{profile1List2[0].department}}" class="num">{{profile1List2[0].user.mobile}} | {{profile1List2[0].department.name}}{{profile1List2[0].center.name}}</view>
+                <view wx:if="{{!profile1List2[0].department}}" class="num">暂未认证</view>
             </view>
             </view>
         </view>
         </view>
         <view class="picbox">
         <view class="picbox">