fix: 添加树节点筛选字段配置

添加 treeNodeFilterProp 配置以支持按部门名称筛选树节点
This commit is contained in:
dap 2025-08-28 10:11:21 +08:00
parent e030bfbfbd
commit 6be8870801

View File

@ -65,6 +65,8 @@ async function initDeptSelect(deptId?: number | string) {
treeData,
treeDefaultExpandAll: true,
treeLine: { showLeafIcon: false },
//
treeNodeFilterProp: 'deptName',
//
treeNodeLabelProp: 'fullName',
},