Commit 9a56e38a by 吴迪

递归的时候子菜单没有的时候统一都返回null

parent 66e597c0
......@@ -100,7 +100,7 @@ public class NewsclassServiceImpl extends ServiceImpl<NewsclassDao, NewsclassEnt
// 递归退出条件
if (childList.size() == 0) {
return new ArrayList<>();
return null;
}
return childList;
}
......
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