修复切换登录状态后用户身份未更新的bug

This commit is contained in:
唐明明
2021-09-16 13:54:37 +08:00
parent b12465f611
commit 6a9b350413
14 changed files with 4555 additions and 4038 deletions

View File

@@ -95,7 +95,7 @@
<image class="item-cover" src="@/static/icons/user_icon_03.png" mode="aspectFill"></image>
<view class="item-title">我的优惠券</view>
</view>
<view class="item">
<view class="item" @click="outLogin">
<image class="item-cover" src="@/static/icons/user_icon_04.png" mode="aspectFill"></image>
<view class="item-title">地址管理</view>
</view>
@@ -172,9 +172,9 @@
}
},
methods: {
// outLogin(){
// this.$store.commit('setToken', '')
// }
outLogin(){
this.$store.commit('setToken', '')
},
selectedBanner(item, index) {
console.log('🥒', item, index)
}