diff --git a/manifest.json b/manifest.json index 35523f4..cbc1ffa 100644 --- a/manifest.json +++ b/manifest.json @@ -57,8 +57,8 @@ "urlCheck" : false, "minified" : true }, - "optimization": { - "subPackages": true + "optimization" : { + "subPackages" : true }, "usingComponents" : true, "permission" : {}, diff --git a/pages_order/mine/cooperation.vue b/pages_order/mine/cooperation.vue index f48d196..4035e0e 100644 --- a/pages_order/mine/cooperation.vue +++ b/pages_order/mine/cooperation.vue @@ -194,11 +194,16 @@ export default { async initData() { try { - const shopList = (await this.$fetch('queryShopList', { userId: this.userInfo.id }))?.records + const shopDetails = (await this.$fetch('queryShopById')) + + console.log("shopDetails======") + console.log(shopDetails) - if (!shopList.length) { + if (!shopDetails) { return } + + const { id, @@ -213,7 +218,7 @@ export default { latitude, longitude, address, - } = shopList[0] + } = shopDetails this.form = { image, @@ -225,7 +230,6 @@ export default { longitude, address, } - this.id = id this.status = status this.statusDesc = status == '2' ? `${status_dictText}:${remark}` : status_dictText diff --git a/pages_order/mine/memberCenter.vue b/pages_order/mine/memberCenter.vue index 2a621a1..dba8073 100644 --- a/pages_order/mine/memberCenter.vue +++ b/pages_order/mine/memberCenter.vue @@ -1,414 +1,414 @@ - - - - - - \ No newline at end of file