Explorar el Código

Merge remote-tracking branch 'origin/dev2.0' into dev2.0

xuyunhui hace 2 meses
padre
commit
50ded43b0d
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      myPages/serviceObjectAllInfo/index.vue

+ 4 - 1
myPages/serviceObjectAllInfo/index.vue

@@ -212,7 +212,7 @@
       <view class="btn">保存</view>
     </view>
 
-    <view v-if="userInfo.id" @click="unbindServiceObject" class="sure-btn">
+    <view v-if="userInfo.id && userInfo.isSelf != 1 " @click="unbindServiceObject" class="sure-btn">
       <view class="btn1">解绑</view>
     </view>
 
@@ -323,6 +323,9 @@ export default {
                 icon: 'none',
                 title: '解绑成功!'
               })
+              uni.navigateBack({
+                delta: 1
+              })
             })
 
           } else if (res.cancel) {