修改citycode
This commit is contained in:
parent
b633603389
commit
758e45ef41
@ -691,7 +691,11 @@
|
|||||||
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');
|
||||||
|
}
|
||||||
if (that.form.sexname == '男') {
|
if (that.form.sexname == '男') {
|
||||||
that.f orm.sex = 'MALE';
|
that.f orm.sex = 'MALE';
|
||||||
} else if (that.form.sexname == '女') {
|
} else if (that.form.sexname == '女') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user