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 16:21:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3d4b969ff324a6a3b54c54dec03a793a3f8746ce
3d4b969f
1 parent
2c74bb37
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 @
3d4b969
...
...
@@ -65,7 +65,7 @@ export function dragNode(G6) {
});
// 只拖动当前节点 选没选中都能拖动
if
(
dragNodes
.
length
===
1
||
nodes
.
length
==
=
0
)
{
if
(
dragNodes
.
length
>
=
0
)
{
this
.
target
=
item
;
this
.
target
.
origin
=
{
x
:
item
.
_cfg
.
model
.
x
,
...
...
Please
register
or
login
to post a comment