This commit is contained in:
@jyuhsin
2026-04-15 14:06:03 +08:00
parent 909458a92c
commit 3f25c9e2e7
2 changed files with 12 additions and 13 deletions
@@ -299,7 +299,7 @@ public class SysUnitController {
) )
)); ));
} }
List<Tree<String>> treeList = TreeUtil.build(nodeList, StrUtil.blankToDefault(pid, "J")); List<Tree<String>> treeList = TreeUtil.build(nodeList, StrUtil.blankToDefault(pid, "0"));
return Result.success(treeList); return Result.success(treeList);
} catch (Exception e) { } catch (Exception e) {
return Result.error(); return Result.error();
@@ -82,7 +82,6 @@ layout("/layouts/platform.html"){
:expand-on-click-node="false" :expand-on-click-node="false"
:props="{ children: 'children', label: 'name' }" :props="{ children: 'children', label: 'name' }"
node-key="id" node-key="id"
default-expand-all
@node-click="treeNodeClick" @node-click="treeNodeClick"
:filter-node-method="filterNode" :filter-node-method="filterNode"
highlight-current highlight-current