优化问题

This commit is contained in:
duan
2024-06-05 15:47:04 +08:00
parent bdd5a6a325
commit ba106d1f96
8 changed files with 48 additions and 25 deletions

View File

@@ -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) {