Lou
2023-12-26 c65169cebf56657dbec38088c870f0084ca08321
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()