更新
This commit is contained in:
parent
25c9ae4f97
commit
53d52b0621
@ -324,7 +324,7 @@
|
|||||||
}catch(e){
|
}catch(e){
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
}
|
}
|
||||||
this.tabsCurr = uni.getStorageSync('tabbar_sale_type');
|
this.tabsCurr = uni.getStorageSync('tabbar_sale_type') || 1; // 获取上次进入的是零售商品还是批发商品
|
||||||
this.getCartList();
|
this.getCartList();
|
||||||
this.getCartNum();
|
this.getCartNum();
|
||||||
this.goodsHidden = true;
|
this.goodsHidden = true;
|
||||||
|
@ -296,6 +296,9 @@
|
|||||||
})
|
})
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
uni.setStorageSync('tabbar_sale_type', 1);
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
getPhoneNumber(e) {
|
getPhoneNumber(e) {
|
||||||
|
@ -354,6 +354,7 @@
|
|||||||
title: '提示',
|
title: '提示',
|
||||||
content: '确认退出登录?',
|
content: '确认退出登录?',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
|
uni.setStorageSync('tabbar_sale_type', 1);
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
getLogout()
|
getLogout()
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user