Sfoglia il codice sorgente

栏目修改子节点修复

mingsoft 4 anni fa
parent
commit
40f637d677

+ 2 - 2
src/main/java/net/mingsoft/cms/action/CategoryAction.java

@@ -296,9 +296,9 @@ public class CategoryAction extends BaseAction {
 					 return ResultData.build().error(getResString("cannot.select.child"));
 				 }
 			 }
-			 category.setLeaf(true);
-		 } else {
 			 category.setLeaf(false);
+		 } else {
+			 category.setLeaf(true);
 		 }
 
 		 // 这里不能使用mybitsplus 存在业务