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:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
21395894f2a55472f628d3d376471c4efa43fe6d
21395894
1 parent
d92c3d24
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 @
2139589
...
...
@@ -65,7 +65,7 @@ export function dragNode(G6) {
});
// 只拖动当前节点
if
(
dragNodes
.
length
===
1
)
{
if
(
dragNodes
.
length
===
1
||
nodes
.
length
===
0
)
{
this
.
target
=
item
;
this
.
target
.
origin
=
{
x
:
item
.
_cfg
.
model
.
x
,
...
...
Please
register
or
login
to post a comment