|
@@ -6,7 +6,7 @@
|
|
|
renlian.layer.loading(true, "加载数据中");
|
|
|
var userinfo = renlian.storage.get('userinfo');
|
|
|
var defaultCity = renlian.storage.get('userinfo').baseinfo.defaultCity;
|
|
|
- if(!defaultCity){
|
|
|
+ if(!defaultCity || !defaultCity.lng || !defaultCity.lat){
|
|
|
defaultCity = [109.84040,40.658168];
|
|
|
}else{
|
|
|
defaultCity = [defaultCity.lng, defaultCity.lat];
|