chore: 默认全部展开

This commit is contained in:
dap
2024-12-19 08:19:34 +08:00
parent 9a259642af
commit 911b52e938

View File

@@ -54,7 +54,7 @@ async function setupCategorySelect() {
treeData: tree, treeData: tree,
treeDefaultExpandAll: true, treeDefaultExpandAll: true,
// 默认展开的树节点 // 默认展开的树节点
treeDefaultExpandedKeys: [0], // treeDefaultExpandedKeys: [0],
treeLine: { showLeafIcon: false }, treeLine: { showLeafIcon: false },
// 筛选的字段 // 筛选的字段
treeNodeFilterProp: 'label', treeNodeFilterProp: 'label',