Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 画布交互问题修复 --ignore #81

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/components/ProcessCanvas/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@
const branchInfo = this.getBranchConditions(cell.source.cell) || {};
// 增加分支网关 label
if (branchInfo && Object.keys(branchInfo).length > 0) {
const conditionInfo = cell.data?.conditionInfo || branchInfo[cell.id] || {};
const conditionInfo = branchInfo[cell.id] || {};
if (!Object.keys(conditionInfo).length) return;
const textDom = document.createElement('span');
textDom.innerText = conditionInfo.name;
Expand Down
1 change: 1 addition & 0 deletions frontend/src/utils/graphJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export const graphToJson = (canvasData) => {
padding: 1,
},
},
data: {},
});
return acc;
}, []) || [];
Expand Down
Loading