subPackage/house/roomControl/index.vue
@@ -190,16 +190,19 @@ }, onLoad(option) { const { code } = option this.houseCode = code if(option.code){ this.houseCode = option.code; }else { this.houseCode = uni.getStorageSync("siteInfo").houseCode; uni.setNavigationBarTitle({ title:"我的房屋" }) } let roleName = uni.getStorageSync("activeRole").roleName; if(roleName == "网格员"){ this.roleType = 2; } }, onShow() { // this.getLabelList()