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) {