From f1460485d31139d5667194bf39d1e63b768cff04 Mon Sep 17 00:00:00 2001 From: linxi Date: Mon, 25 Nov 2024 16:43:25 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A2499=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=AF=BB=E8=B6=A3=E5=91=B3?= =?UTF-8?q?=EF=BC=8C=E6=9F=A5=E7=9C=8B=E5=BA=97=E9=93=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=90=8E=E8=BF=94=E5=9B=9E=E5=88=97=E8=A1=A8=E5=90=8E=E4=BC=9A?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E9=A2=91=E9=97=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cloud/haveFun.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/cloud/haveFun.vue b/pages/cloud/haveFun.vue index 559cdc6..dee9ee6 100644 --- a/pages/cloud/haveFun.vue +++ b/pages/cloud/haveFun.vue @@ -159,19 +159,19 @@ export default { } }, onLoad() { - - }, - onShow() { - const memCityName = uni.getStorageSync('cityName') - this.page = 1 this.currType = {} - // this.typeIndex = 0 - this.name = '' getHotelTypeList().then(({data}) => { this.typeList = data this.currType = data[this.typeIndex] this.getMapData() }) + + }, + onShow() { + const memCityName = uni.getStorageSync('cityName') + this.page = 1 + // this.typeIndex = 0 + this.name = '' if (memCityName.length) { this.cityName = memCityName uni.removeStorageSync('cityName')