hookehuyr

fix

...@@ -65,7 +65,7 @@ export function dragNode(G6) { ...@@ -65,7 +65,7 @@ export function dragNode(G6) {
65 }); 65 });
66 66
67 // 只拖动当前节点 选没选中都能拖动 67 // 只拖动当前节点 选没选中都能拖动
68 - if (dragNodes.length === 1 || nodes.length === 0) { 68 + if (dragNodes.length >= 0) {
69 this.target = item; 69 this.target = item;
70 this.target.origin = { 70 this.target.origin = {
71 x: item._cfg.model.x, 71 x: item._cfg.model.x,
......