Browse Source

[Fix][UI Next][V1.0.0-Beta] Fix console bug after deleting a node from the context menu. (#9932)

3.0.0/version-upgrade
Amy0104 2 years ago committed by GitHub
parent
commit
8215fa8e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts

2
dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-task-edit.ts

@ -120,7 +120,7 @@ export function useTaskEdit(options: Options) {
process.postTaskCode === code || process.preTaskCode === code
)
})
cells.forEach((cell) => {
cells?.forEach((cell) => {
if (cell.isEdge()) {
const preTaskCode = cell.getSourceCellId()
const postTaskCode = cell.getTargetCellId()

Loading…
Cancel
Save