处理点击卡片逻辑,鼠标按下后就直接出现线条
This commit is contained in:
@@ -111,7 +111,7 @@ export class StateManager {
|
||||
|
||||
}
|
||||
/** 设置激活节点 */
|
||||
setActiveNodeID(id: string) { this.activeNodeID.value = id }
|
||||
setActiveNodeID(id: string) { this.activeNodeID.value = id;this.showNodeConnections(id) }
|
||||
/** 添加节点 */
|
||||
addNode(node: NodesItem) {
|
||||
this.nodes.value.push(node);
|
||||
|
||||
Reference in New Issue
Block a user