修复切换登录状态后用户身份未更新的bug
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user