随笔分类 -  递归

摘要:https://www.vue-treeselect.cn/ 前端树,下拉框显示树结构 :defaultExpandLevel="Infinity" 设置 Infinity 为默认使所有分支节点扩展 在package.json中加入依赖 : "@riophae/vue-treeselect": "^ 阅读全文
posted @ 2021-12-29 16:14 仓鼠爱画方格子 阅读(1012) 评论(0) 推荐(0)
摘要:先将根节点找出来 for (int i = 0; i < moduleList.size(); i++) { ProjectModuleV2 v2 = moduleList.get(i); String parentId = v2.getParentId(); if ("0".equals(pare 阅读全文
posted @ 2021-12-25 09:20 仓鼠爱画方格子 阅读(21) 评论(0) 推荐(0)