调整分享部分方法,修改点餐页分享

This commit is contained in:
2026-01-21 15:11:01 +08:00
parent 654ed39854
commit 8f1b21bf00
7 changed files with 200 additions and 72 deletions

View File

@@ -547,12 +547,14 @@ export const productStore = defineStore("product", {
},
async pageOnload() {
console.log('开始加载必须数据')
//登录
await this.actionslogin()
//获取会员信息
await this.actionsproductqueryProduct()
//获取店铺信息
await this.getShopInfo()
console.log('必须数据加载完毕')
},
async getShopInfo(shopId) {
const shopRes = await APIusershopInfodetail({