Commit 0f1a0952 by zhangxw

修改

1 parent ea72204f
...@@ -119,6 +119,8 @@ Component({ ...@@ -119,6 +119,8 @@ Component({
}, },
// 服务商切换 // 服务商切换
servicePicker() { servicePicker() {
let { userInfo } = this.data
if (!userInfo?.isSuper) return
this.setData({ this.setData({
servicePopupShow: !this.data.servicePopupShow servicePopupShow: !this.data.servicePopupShow
}) })
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</view> </view>
</block> </block>
</view> </view>
<view class="service_name"> <view class="service_name" bindtap="servicePicker">
{{ merchantRange[subIndex].merchantName||userInfo.subLoginUser.merchantName }} {{ merchantRange[subIndex].merchantName||userInfo.subLoginUser.merchantName }}
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!