优化问题
This commit is contained in:
@@ -109,6 +109,7 @@
|
||||
payPassword
|
||||
},
|
||||
onLoad(e) {
|
||||
this.$store.dispatch("set_shopid"); //获取shapid
|
||||
this.getInfo(e.id)
|
||||
this.orderIds = e.id
|
||||
this.amount = uni.cache.get('userInfo').amount
|
||||
@@ -131,7 +132,7 @@
|
||||
async getAount() {
|
||||
let res = await this.api.shopUserInfo({
|
||||
// shopId:店铺ID
|
||||
"shopId": this.info.shopId,
|
||||
"shopId": this.$store.state.shopId,
|
||||
"userId": uni.cache.get('userInfo').id
|
||||
})
|
||||
if (res.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user