地区选择错误修复
parent
71da82b81e
commit
9fa9b61c00
2
App.vue
2
App.vue
|
|
@ -90,7 +90,7 @@
|
|||
weixin_privacy_setting_timer: null,
|
||||
|
||||
// 弹出获取用户当前位置(0否, 1是)
|
||||
get_user_location_status: 1,
|
||||
get_user_location_status: 0,
|
||||
get_user_location_timer: null,
|
||||
|
||||
// 微信小程序打开地图使用(0否, 1是)【腾讯位置服务路线规划】插件、(需要到小程序后台设置->第三方设置->插件管理里面添加【腾讯位置服务路线规划】插件,教程 https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx50b5593e81dd937a)
|
||||
|
|
|
|||
|
|
@ -717,7 +717,16 @@
|
|||
region_picker_show: false,
|
||||
});
|
||||
},
|
||||
region_event(address1, address2, address3) {
|
||||
region_event(address1, address2, address3) {
|
||||
if((address1 || null) == null) {
|
||||
address1 = {};
|
||||
}
|
||||
if((address2 || null) == null) {
|
||||
address2 = {};
|
||||
}
|
||||
if((address3 || null) == null) {
|
||||
address3 = {};
|
||||
}
|
||||
this.setData({
|
||||
province_id: address1.id || null,
|
||||
city_id: address2.id || null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue