lyqu il y a 5 ans
Parent
commit
92f12737c5
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/views/community/residentialManage.vue

+ 3 - 3
src/views/community/residentialManage.vue

@@ -1326,7 +1326,7 @@ export default {
       // debugger
       for (let children of this.treeData[0].children) {
         if (children.id == buildingId) {
-          this.optionUnit.addBtn = children.tag.floorNum > datas.length;
+          // this.optionUnit.addBtn = children.tag.floorNum > datas.length;
           let treeData = [];
           for (let data of datas) {
             data.type = this.typeUnit;
@@ -1349,7 +1349,7 @@ export default {
         if (building.id == buildingId) {
           for (let layer of building.children) {
             if (layer.id == unitId) {
-              this.optionFloor.addBtn = building.tag.roomNum > datas.length;
+              // this.optionFloor.addBtn = building.tag.roomNum > datas.length;
               let treeData = [];
               for (let data of datas) {
                 data.type = this.typeFloor;
@@ -1378,7 +1378,7 @@ export default {
             if (unit.id == unitId) {
               for (let floor of unit.children) {
                 if (floor.id == floorId) {
-                  this.optionRoom.addBtn = floor.tag.bedNum > datas.length;
+                  // this.optionRoom.addBtn = floor.tag.bedNum > datas.length;
 
                   let treeData = [];
                   for (let data of datas) {