Browse Source

[Fix][UI Next][V1.0.0-Beta] Fix bug where logo disappeared when format dag. (#9864)

3.0.0/version-upgrade
Devosend 2 years ago committed by GitHub
parent
commit
52826194a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx

11
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx

@ -274,6 +274,15 @@ export default defineComponent({
nodeVariables.showModalRef = false
}
const layoutSubmit = () => {
submit()
// Refresh task status in workflow instance
if (props.instance) {
refreshTaskStatus()
}
}
watch(
() => props.definition,
() => {
@ -321,7 +330,7 @@ export default defineComponent({
</div>
<DagAutoLayoutModal
visible={layoutVisible.value}
submit={submit}
submit={layoutSubmit}
cancel={cancel}
formValue={formValue}
formRef={formRef}

Loading…
Cancel
Save