From a267868890d9d0add60e26e0fd2066aa403cecba Mon Sep 17 00:00:00 2001 From: linxi Date: Thu, 27 Mar 2025 14:57:05 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3532=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=BA=97=E9=93=BA=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E2=80=94=E5=88=87=E6=8D=A2=E7=99=BB=E5=BD=95=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E8=BF=94=E5=9B=9E=EF=BC=8C=E5=86=8D=E6=AC=A1=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E5=BA=97=E9=93=BA=E4=B8=BB=E9=A1=B5=E6=97=B6=E6=9C=AA?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E5=88=B0=E9=80=89=E6=8B=A9=E5=BA=97=E9=93=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/components/jin-edit/homeList.vue | 1 + pagesInn/inn/innHome.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pagesInn/components/jin-edit/homeList.vue b/pagesInn/components/jin-edit/homeList.vue index 6e8e2ad..bd5852f 100644 --- a/pagesInn/components/jin-edit/homeList.vue +++ b/pagesInn/components/jin-edit/homeList.vue @@ -34,6 +34,7 @@ export default { queryHome(e) { this.$nextTick(() => { this.$emit('enter', this.list[e]) + uni.setStorageSync('homeId', this.list[e].id) this.show = false }) }, diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index 8642f8d..710b7ce 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -551,7 +551,7 @@ export default { break } if (id) { - this.id = id || null + this.id = uni.getStorageSync('homeId') || id this.partnerId = options.partnerId || null } else { let obj = uni.getEnterOptionsSync()