Commit aaae008f by 李长胜

叶子节点不显示展开按钮

1 parent ce47631d
......@@ -361,6 +361,9 @@ export default {
if (!id) {
_tree.push(item);
}
if(!item.childs){
item.leaf=true;
}
item.childs && item.childs.length > 0
? flatData(item.childs, item.treeId, i + 1)
: "";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!