Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -64,7 +64,7 @@ export function dragNode(G6) { | ... | @@ -64,7 +64,7 @@ export function dragNode(G6) { |
| 64 | return currentNodeId === nodeId; | 64 | return currentNodeId === nodeId; |
| 65 | }); | 65 | }); |
| 66 | 66 | ||
| 67 | - // 只拖动当前节点 | 67 | + // 只拖动当前节点 选没选中都能拖动 |
| 68 | if (dragNodes.length === 1 || nodes.length === 0) { | 68 | if (dragNodes.length === 1 || nodes.length === 0) { |
| 69 | this.target = item; | 69 | this.target = item; |
| 70 | this.target.origin = { | 70 | this.target.origin = { | ... | ... |
-
Please register or login to post a comment