Procházet zdrojové kódy

feat:解绑按钮判断

zhanghui před 3 měsíci
rodič
revize
a97558d395
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      myPages/serviceObjectAllInfo/index.vue

+ 1 - 1
myPages/serviceObjectAllInfo/index.vue

@@ -212,7 +212,7 @@
       <view class="btn">保存</view>
     </view>
 
-    <view @click="unbindServiceObject" class="sure-btn">
+    <view v-if="userInfo.id" @click="unbindServiceObject" class="sure-btn">
       <view class="btn1">解绑</view>
     </view>