修复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
pages
goods_details
order_addcart

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

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