更新
This commit is contained in:
parent
25c9ae4f97
commit
53d52b0621
@ -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;
|
||||
|
@ -296,6 +296,9 @@
|
||||
})
|
||||
// #endif
|
||||
},
|
||||
onShow() {
|
||||
uni.setStorageSync('tabbar_sale_type', 1);
|
||||
},
|
||||
methods: {
|
||||
// #ifdef MP
|
||||
getPhoneNumber(e) {
|
||||
|
@ -354,6 +354,7 @@
|
||||
title: '提示',
|
||||
content: '确认退出登录?',
|
||||
success: function(res) {
|
||||
uni.setStorageSync('tabbar_sale_type', 1);
|
||||
if (res.confirm) {
|
||||
getLogout()
|
||||
.then(res => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user