Parcourir la source

feat:解绑按钮判断

zhanghui il y a 3 mois
Parent
commit
a97558d395
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>