邹能昇 3 月之前
父节点
当前提交
3c5188da87
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      nova-werun/components/my/index.wxml

+ 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>
             </view> -->
             <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 class="picbox">