修改citycode
This commit is contained in:
parent
eb11eb5302
commit
7c72e0d98a
@ -691,10 +691,10 @@
|
|||||||
const that = this
|
const that = this
|
||||||
that.userinfo = uni.getStorageSync('userinfo');
|
that.userinfo = uni.getStorageSync('userinfo');
|
||||||
that.form.openid = uni.getStorageSync('openid');
|
that.form.openid = uni.getStorageSync('openid');
|
||||||
if(!uni.getStorageSync('region')){
|
|
||||||
that.form.cityCode=2
|
|
||||||
}else{
|
|
||||||
that.form.cityCode = uni.getStorageSync('region');
|
that.form.cityCode = uni.getStorageSync('region');
|
||||||
|
console.log(that.form.cityCode, 'that.form.cityCode')
|
||||||
|
if (that.form.cityCode == "") {
|
||||||
|
that.form.cityCode = 2
|
||||||
}
|
}
|
||||||
if (that.form.sexname == '男') {
|
if (that.form.sexname == '男') {
|
||||||
that.f orm.sex = 'MALE';
|
that.f orm.sex = 'MALE';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user