栏目修改子节点修复

master
mingsoft 4 years ago
parent 109d34a31b
commit 40f637d677
  1. 4
      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")); return ResultData.build().error(getResString("cannot.select.child"));
} }
} }
category.setLeaf(true);
} else {
category.setLeaf(false); category.setLeaf(false);
} else {
category.setLeaf(true);
} }
// 这里不能使用mybitsplus 存在业务 // 这里不能使用mybitsplus 存在业务

Loading…
Cancel
Save