From 9c8b1dc5b9b54b581fb836895718d4ff657dc8bd Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 24 Jun 2025 14:47:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/index/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index af0de38..0ffd542 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx5be1fe6ef11841cd", + "appid" : "wx699ed131345cf8dd", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/index/index.vue b/pages/index/index.vue index 82429a7..478c7f3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -87,7 +87,7 @@ }, // 离开当前页面时获取定位 onHide() { - this.getLocation() + // this.getLocation() }, onReady() { this.sendRequest() From 156ff8eebcc341a24848491683588235190f60c2 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 24 Jun 2025 14:49:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/CommonFunction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index 45c117a..44168a7 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -251,7 +251,7 @@ Vue.prototype.gotoWebUrl = url => { Vue.prototype.gotoDetailByType = item => { let url = '' if(item.is_package) { - url = '/subPackages/food/detail?id=' + item.product_id + url = '/subPackages/food/detail?id=' + (item.product_id || item.id) Vue.prototype.gotoPath(url) return;