From b07e967e234a54dd79bc75e9e6744112d8e21557 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Sun, 19 Jan 2025 22:11:27 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3022=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=A1=AB=E5=86=99=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=B5=84=E6=96=99=E7=82=B9=E5=87=BB=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=90=8E=E5=86=8D=E6=AC=A1=E8=BF=9B=E5=85=A5=EF=BC=8C=E5=A1=AB?= =?UTF-8?q?=E5=86=99=E5=86=85=E5=AE=B9=E6=9C=AA=E4=BF=9D=E7=95=99=EF=BC=88?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=BA=E5=A1=AB=E5=86=99=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E4=BB=8D=E7=84=B6=E4=BF=9D=E7=95=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v4/views/attract/attract.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/v4/views/attract/attract.vue b/v4/views/attract/attract.vue index ead0ecd..9581b9d 100644 --- a/v4/views/attract/attract.vue +++ b/v4/views/attract/attract.vue @@ -89,6 +89,13 @@ export default { onLoad: function () { this.init() this.getCityList() + const localData = uni.getStorageSync('investmentIndex') + if (localData) { + this.businessApply = localData + } + }, + onUnload() { + uni.setStorageSync('investmentIndex', this.businessApply) }, methods: { init() { @@ -119,7 +126,7 @@ export default { this.total = data.total this.businessApplyList = data.businessApplyList if (data.businessApply) { - this.businessApply = data.businessApply + // this.businessApply = data.businessApply this.address = { province: data.businessApply.provinceName || "", city: data.businessApply.cityName || "",