注册修改

This commit is contained in:
shidongli 2023-11-07 14:54:22 +08:00
parent a1a54511e1
commit 41ce1564b0
2 changed files with 12 additions and 3 deletions

View File

@ -31,7 +31,7 @@
</view>
<view class="city_item" @click="getAddressCon('3')">
<text>济南市</text>
</view>
</view>
</view>
@ -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 @@
}
}
}
</style>
</style>

View File

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