From 41ce1564b0403638c470bdc88100468762b2eff1 Mon Sep 17 00:00:00 2001 From: shidongli Date: Tue, 7 Nov 2023 14:54:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/location/location.vue | 13 +++++++++++-- pages/register/register.vue | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pages/location/location.vue b/pages/location/location.vue index 2769f4a..74deb48 100644 --- a/pages/location/location.vue +++ b/pages/location/location.vue @@ -31,7 +31,7 @@ 济南市 - + @@ -82,14 +82,23 @@ uni.setStorageSync('location', '德州市') uni.setStorageSync("region", 1) this.address = '德州市' + uni.navigateBack({ + delta: 1 + }) } else if (value == '2') { uni.setStorageSync('location', '东营市') uni.setStorageSync("region", 2) this.address = '东营市' + uni.navigateBack({ + delta: 1 + }) } else if (value == '3') { uni.setStorageSync('location', '济南市') uni.setStorageSync("region", 3) this.address = '济南市' + uni.navigateBack({ + delta: 1 + }) } }, clear() { @@ -247,4 +256,4 @@ } } } - \ No newline at end of file + diff --git a/pages/register/register.vue b/pages/register/register.vue index 90178e1..74de607 100644 --- a/pages/register/register.vue +++ b/pages/register/register.vue @@ -380,7 +380,7 @@ that.query.sex = 'MALE'; } else if (that.query.sexname == '女') { that.query.sex = 'FEMALE'; - }s + } that.$refs.uForm.validate(valid => { if (valid) {