zhaoxiaohai 3 years ago
parent
commit
f001ad87d7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pages/teamManagement/change.js
  2. 1 1
      pages/teamManagement/change.wxml

+ 1 - 1
pages/teamManagement/change.js

@@ -107,7 +107,7 @@ Page({
             }, 1000)
         })
     },
-    /* 回调 */
+    /* 二次确认回调 */
     callBack({
         detail
     }) {

+ 1 - 1
pages/teamManagement/change.wxml

@@ -16,7 +16,7 @@
             <van-switch style="position: absolute; margin-left: -110rpx; margin-top: 10rpx;" size="24px" active-color="#4CBECF" checked="{{ checked }}" bind:change="onChange" />
         </My_GreyRectangleForm>
 
-        <My_GreyRectangleForm title="是否设置为主账号">
+        <My_GreyRectangleForm wx:if="{{tenterprise_userid!=0}}" title="是否设置为主账号">
             <van-switch style="position: absolute; margin-left: -110rpx; margin-top: 10rpx;" size="24px" active-color="#4CBECF" checked="{{ makeOver }}" bind:change="makeOverChange" />
         </My_GreyRectangleForm>