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

This commit is contained in:
Devosend 2022-05-05 10:13:56 +08:00 committed by GitHub
parent e41de35e17
commit 52826194a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}