feat:【antd】【crm】产品分类的代码优化
This commit is contained in:
@@ -28,7 +28,7 @@ function handleSearch(e: any) {
|
||||
: deptList.value;
|
||||
deptTree.value = handleTree(filteredList);
|
||||
// 展开所有节点
|
||||
expandedKeys.value = deptTree.value.map((node) => node.id as number);
|
||||
expandedKeys.value = deptTree.value.map((node) => node.id!);
|
||||
}
|
||||
|
||||
/** 选中部门 */
|
||||
|
||||
Reference in New Issue
Block a user