Remove useless console.log()

This commit is contained in:
Kris Chi 2024-08-29 15:48:46 +08:00 committed by shaohuzhang1
parent 644bb61c4e
commit a373cbb2c2

View File

@ -73,7 +73,6 @@ export function initDefaultShortcut(lf: LogicFlow, graph: GraphModel) {
if (graph.textEditElement) return true
if (selected && (selected.nodes || selected.edges)) {
lf.clearSelectElements()
console.log(selected)
const addElements = lf.addElements(selected, CHILDREN_TRANSLATION_DISTANCE)
if (!addElements) return true
addElements.nodes.forEach((node) => lf.selectElementById(node.id, true))