Selaa lähdekoodia

fix bug:添加楼层的时候properties属性时设置为不可编辑

lijie 3 vuotta sitten
vanhempi
commit
1e3319ce39

+ 5 - 0
src/main/java/com/persagy/proxy/dictionary/service/impl/AbstractAdmDictBaseServiceImpl.java

@@ -204,6 +204,11 @@ public class AbstractAdmDictBaseServiceImpl<T> implements IAdmDictBaseService<T>
         if(CollUtil.isEmpty(admVOs)){
             return;
         }
+        // 删除楼层的properties的信息点
+        for (int i = admVOs.size() - 1; i >= 0; i--) {
+            AdmObjectInfo admVo = admVOs.get(i);
+            admVo.setEditable(false);
+        }
         for (AdmObjectInfo admVO : admVOs) {
             admVO.setFirstName(admVO.getFirstTag());
             admVO.setSecondName(admVO.getSecondTag());