Commit 40f637d6 authored by mingsoft's avatar mingsoft

栏目修改子节点修复

parent 109d34a3
...@@ -296,9 +296,9 @@ public class CategoryAction extends BaseAction { ...@@ -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 存在业务
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment