调整分享部分方法,修改点餐页分享
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user