(objectData: ObjectData, nodeId: string)
| 153 | |
| 154 | // 折叠节点 |
| 155 | export const collapseNode = (objectData: ObjectData, nodeId: string): ObjectData => { |
| 156 | return { |
| 157 | ...objectData, |
| 158 | expandedNodes: objectData.expandedNodes.filter((id) => id !== nodeId) |
| 159 | } |
| 160 | } |
nothing calls this directly
no outgoing calls
no test coverage detected