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-09-27 09:53:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d08eb0f60a6d4144d70a4c06f5fb27be1dd14340
d08eb0f6
1 parent
39335b6a
fix 访问页面的参数添加错误
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
doc/index.vue
doc/index.vue
View file @
d08eb0f
...
...
@@ -2108,6 +2108,8 @@ export default {
* @return {Promise} A promise that resolves when the event is handled.
*/
async function handleBeforeDelete( model: myObj, type: string): Promise<any> {
// if (!state.main_attr_set) 点击打开了更多属性选项卡 { return Promise.reject('reject') }
let { nodes, edges } = editor.editorState.graph.save();
let start_edge_count = edges.filter((edge: { source: string }) => edge.source === 'start-node'); // 连接到开始节点连接线的数量
...
...
@@ -2662,7 +2664,7 @@ export default {
} else {
let flow_id = getFlowId();
let _path = urlQuery._path? urlQuery._path : '';
state.preview_form_url = `/admin/?a=flow&t=view&
m=mod&
p=${_path}&_flow=${flow_id}&_flow_node=${model.id}`;
state.preview_form_url = `/admin/?a=flow&t=view&p=${_path}&_flow=${flow_id}&_flow_node=${model.id}`;
}
}
...
...
Please
register
or
login
to post a comment