修改bug
This commit is contained in:
parent
af1f84f917
commit
c671650574
@ -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: {
|
||||
// 查询当前登录用户信息
|
||||
|
@ -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, // 460代表生成的二维码的宽高均为460rpx
|
||||
@ -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");
|
||||
},
|
||||
|
||||
@ -400,4 +402,4 @@
|
||||
padding: 0px !important;
|
||||
background-color: transparent;
|
||||
}
|
||||
</style>
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user