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
2024-07-05 16:32:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2d89e3228f8143c1bb98f66c80408ee6823af5e6
2d89e322
1 parent
cfb0c0fe
fix 修复排序操作显示报错问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
doc/index.vue
doc/index.vue
View file @
2d89e32
...
...
@@ -540,7 +540,7 @@
<el-dialog v-model="state.dialogSortVisible" title="节点排序" width="30%" center>
<draggable
v-model="state.sortNodes"
tag="transition-group
"
v-bind="dragOptions
"
item-key="id"
style="overflow: scroll;"
:component-data="{name:'fade'}"
...
...
@@ -813,6 +813,15 @@ export default {
attr_node_desc: '',
});
const dragOptions = computed(() => {
return {
animation: 250,
group: "people",
disabled: false,
ghostClass: "ghost"
};
})
// TODO: 获取系统参数
const setNodeTree = (id: string, data: object) => {
...
...
@@ -2543,6 +2552,8 @@ export default {
flowData,
rawFlowData,
dragOptions,
showGrid: true, // 是否开启网格
showMiniMap: false, // 是否开启缩略图
showMultipleSelect: true, // 编辑器是否可以多选
...
...
Please
register
or
login
to post a comment