lilei 2 năm trước cách đây
mục cha
commit
0c5125e6c5
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      pages/index/index.vue

+ 4 - 1
pages/index/index.vue

@@ -38,7 +38,10 @@
 						</view>
 						<view v-else>
 							<view class="user-name">{{userInfo.userNameCN || userInfo.mobile}}</view>
-							<view>{{userInfo.orgName}}</view>
+							<view v-if="hasLogin&&userInfo&&userInfo.sysUserFlag == '0'">
+								<u-tag text="个人用户" mode="dark" type="warning" shape="circle" size="mini" />
+							</view>
+							<view v-else>{{userInfo.orgName}}</view>
 						</view>
 					</view>
 				</view>