修改首页获取商户,发票选商户没反应的问题,,新增退出登录

This commit is contained in:
2024-04-10 09:31:26 +08:00
parent e3390db414
commit 7249c430b8
8 changed files with 30 additions and 20 deletions

View File

@@ -73,6 +73,12 @@ Page({
dot
})
},
logout() {
wx.clearStorageSync()
wx.switchTab({
url: '/pages/home/index',
})
},
bindTenement() {
wx.navigateTo({
url: '/pages/handleLogin/index',

View File

@@ -16,6 +16,7 @@
</view>
</van-cell>
<van-cell title="绑定企业" value="" is-link bind:tap="bindTenement" />
<van-cell title="退出登录" value="" is-link bind:tap="logout" />
<!-- </van-cell-group> -->
<!-- <van-cell-group title=" ">
<van-cell title="单元格" value="内容" is-link />