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-29 13:25:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eef11d37454be7cec52adf59d1293df4498d6601
eef11d37
1 parent
2ea7cbb3
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
doc/App.vue
doc/App.vue
View file @
eef11d3
...
...
@@ -1049,8 +1049,10 @@ export default {
// 检查路径有效性
const paths = [];
findPathsToEndNode(edges, 'start-node', [], paths);
const urlQuery = getQueryParams(location.href);
let flow_id = urlQuery.flow_id? urlQuery.flow_id : ''; // 流程id
if (paths.length) {
axios.post('/admin/?a=save_flow', qs.stringify({
form_id: +form_id,
...
...
@@ -1145,6 +1147,9 @@ export default {
}
state.statusLoading = true;
state.main_attr_set = true; // 重置更多属性的显示
const urlQuery = getQueryParams(location.href);
let flow_id = urlQuery.flow_id? urlQuery.flow_id : ''; // 流程id
//
axios.get('/admin/?a=flow_node_property&node_code=' + model.id + '&flow_id=' + flow_id)
.then((res: any) => {
...
...
@@ -1371,8 +1376,10 @@ export default {
}
})
});
const urlQuery = getQueryParams(location.href);
let flow_id = urlQuery.flow_id? urlQuery.flow_id : ''; // 流程id
// TAG: 保存表单信息
axios.post('/admin/?a=save_node_property', qs.stringify({
flow_id: +flow_id,
...
...
@@ -1631,8 +1638,10 @@ export default {
// 检查路径有效性
const paths = [];
findPathsToEndNode(edges, 'start-node', [], paths);
const urlQuery = getQueryParams(location.href);
let flow_id = urlQuery.flow_id? urlQuery.flow_id : ''; // 流程id
if (paths.length) {
axios.post('/admin/?a=save_flow', qs.stringify({
form_id: +form_id,
...
...
Please
register
or
login
to post a comment