Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
vue-flow-editor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-11-30 14:56:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
293ebe1bf022af1a3db08bee2a17bd4ed6dcd378
293ebe1b
1 parent
21395894
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/behavior/drag-node.ts
src/behavior/drag-node.ts
View file @
293ebe1
...
...
@@ -64,7 +64,7 @@ export function dragNode(G6) {
return
currentNodeId
===
nodeId
;
});
// 只拖动当前节点
// 只拖动当前节点
选没选中都能拖动
if
(
dragNodes
.
length
===
1
||
nodes
.
length
===
0
)
{
this
.
target
=
item
;
this
.
target
.
origin
=
{
...
...
Please
register
or
login
to post a comment