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-12-11 15:00:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eb33c9ade9b2da6397c625cf433a9a6a16459c7d
eb33c9ad
1 parent
251de1c3
fix 处理保存时错误提示问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
doc/App.vue
doc/App.vue
View file @
eb33c9a
...
...
@@ -1907,8 +1907,8 @@ export default {
}
})
});
return;
}
return result.length;
}
const saveData = async () => {
// 清空错误提示
...
...
@@ -1926,8 +1926,9 @@ export default {
// TAG: 检查节点是否完整
const checkResult = await checkAllFlowNodePropertyAPI({ flow_id: +flow_id })
if (checkResult.code) {
noticeError(checkResult);
if (noticeError(checkResult)) {
return;
}
} else {
// 保存流程图结构
saveFlowData();
...
...
@@ -1943,9 +1944,10 @@ export default {
// 检查点击节点后通过了,但是还有未通过的节点没有点击时
const checkResult = await checkAllFlowNodePropertyAPI({ flow_id: +flow_id })
if (checkResult.code) {
noticeError(checkResult);
if (noticeError(checkResult)) {
return;
}
}
ElMessageBox.confirm(
'是否确定保存流程?',
...
...
Please
register
or
login
to post a comment