修复bug

This commit is contained in:
weipengfei 2024-04-10 15:18:26 +08:00
parent d72f234cc7
commit 25c9ae4f97
2 changed files with 2 additions and 0 deletions

View File

@ -682,6 +682,7 @@
that.currSpid = options.spid that.currSpid = options.spid
} }
this.sale_type = options.sale_type || 1; this.sale_type = options.sale_type || 1;
uni.setStorageSync('tabbar_sale_type', this.sale_type);
var pages = getCurrentPages(); var pages = getCurrentPages();
let curPage = pages[pages.length - 1]; let curPage = pages[pages.length - 1];
if (pages.length <= 1) { if (pages.length <= 1) {

View File

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