From 0ff82a3590c1259bd7d43833d15d2adef9a60fd4 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Tue, 8 Apr 2025 23:20:04 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3608=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BD=93=E5=89=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=9C=89=E5=BA=97=E9=93=BA=E6=97=B6=EF=BC=8C=E4=BB=8E?= =?UTF-8?q?=E5=AF=BB=E8=B6=A3=E5=91=B3=E9=80=89=E6=8B=A9=E4=BB=BB=E6=84=8F?= =?UTF-8?q?=E5=BA=97=E9=93=BA=E8=BF=9B=E5=85=A5=E5=BA=97=E9=93=BA=E8=AF=A6?= =?UTF-8?q?=E6=83=85=EF=BC=8C=E6=98=BE=E7=A4=BA=E7=9A=84=E6=98=AF=E8=87=AA?= =?UTF-8?q?=E5=B7=B1=E7=9A=84=E5=BA=97=E9=93=BA=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/inn/innHome.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index 99e5a19..90a1f5a 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -518,6 +518,8 @@ export default { onLoad(options) { const id = options.id || '' const from = options.from + console.log(from); + switch (from) { // 特产 case 'techan': @@ -552,7 +554,7 @@ export default { break } if (id) { - this.id = uni.getStorageSync('homeId') || id + this.id = from ? id : uni.getStorageSync('homeId') || id this.partnerId = options.partnerId || null } else { let obj = uni.getEnterOptionsSync()