添加物业管理显示模块的验证

This commit is contained in:
赵毅 2025-09-15 08:48:11 +08:00
parent 81298faedc
commit b405b88862

View File

@ -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)