修改bug

This commit is contained in:
齐天大圣 2024-01-05 14:24:09 +08:00
parent af1f84f917
commit c671650574
2 changed files with 9 additions and 6 deletions

View File

@ -189,12 +189,13 @@
tabbar
},
onShow() {
this.getUser()
this.query.storeId = uni.getStorageSync("storeId")
this.query.chainStoreId = uni.getStorageSync('chainStoreId')
this.getUserBalance();
this.getGiftRecords();
this.getUserInfoList();
this.getUser()
},
methods: {
//

View File

@ -86,7 +86,8 @@
storeId: '',
show: false,
options: {
code: 'https://www.tuofeng.cc/oily?storeId=19&userId=45',
code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + '&userId=' + uni
.getStorageSync('userId') + '&type=yaoqingyouli',
// code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + ' &userId=' + uni
// .getStorageSync('userId'), //
size: 460, // 460460rpx
@ -95,8 +96,9 @@
}
},
onLoad() {
console.log(uni.getStorageSync('userId'));
console.log(uni.getStorageSync('storeId'));
let codes = 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') +
'&userId=' + uni.getStorageSync('userId') + '&type=yaoqingyouli'
console.log(codes);
this.query.storeId = uni.getStorageSync("storeId");
},