This commit is contained in:
weipengfei 2024-04-10 16:54:18 +08:00
parent 25c9ae4f97
commit 53d52b0621
3 changed files with 5 additions and 1 deletions

View File

@ -324,7 +324,7 @@
}catch(e){
this.getUserInfo();
}
this.tabsCurr = uni.getStorageSync('tabbar_sale_type');
this.tabsCurr = uni.getStorageSync('tabbar_sale_type') || 1; //
this.getCartList();
this.getCartNum();
this.goodsHidden = true;

View File

@ -296,6 +296,9 @@
})
// #endif
},
onShow() {
uni.setStorageSync('tabbar_sale_type', 1);
},
methods: {
// #ifdef MP
getPhoneNumber(e) {

View File

@ -354,6 +354,7 @@
title: '提示',
content: '确认退出登录?',
success: function(res) {
uni.setStorageSync('tabbar_sale_type', 1);
if (res.confirm) {
getLogout()
.then(res => {