添加物业管理显示模块的验证
This commit is contained in:
parent
81298faedc
commit
b405b88862
@ -1071,7 +1071,7 @@ export default {
|
|||||||
this.switchCategory(id);
|
this.switchCategory(id);
|
||||||
this.showDropdown = false;
|
this.showDropdown = false;
|
||||||
},
|
},
|
||||||
|
|
||||||
// 获取当前位置
|
// 获取当前位置
|
||||||
obtainLocation() {
|
obtainLocation() {
|
||||||
// 显示加载提示
|
// 显示加载提示
|
||||||
@ -1079,10 +1079,10 @@ export default {
|
|||||||
title: '定位中...',
|
title: '定位中...',
|
||||||
mask: true
|
mask: true
|
||||||
});
|
});
|
||||||
|
|
||||||
// 清除旧的位置缓存
|
// 清除旧的位置缓存
|
||||||
uni.removeStorageSync('location');
|
uni.removeStorageSync('location');
|
||||||
|
|
||||||
// 重新获取位置信息
|
// 重新获取位置信息
|
||||||
try {
|
try {
|
||||||
this.getUserLocation();
|
this.getUserLocation();
|
||||||
@ -1132,7 +1132,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.showNav = uni.getStorageSync("is_worker")
|
this.showNav = uni.getStorageSync("userId") ? uni.getStorageSync("is_worker") : false
|
||||||
this.flag = false
|
this.flag = false
|
||||||
this.bottomPageNum = 1
|
this.bottomPageNum = 1
|
||||||
console.log('当前页面展示的城市信息', this.currentCity)
|
console.log('当前页面展示的城市信息', this.currentCity)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user