diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx index c4b246deb7..31f98be5d2 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/index.tsx @@ -284,6 +284,19 @@ export default defineComponent({ } ) + watch( + () => nodeVariables.showModalRef, + () => { + if (!nodeVariables.showModalRef) { + nodeVariables.row = {} + nodeVariables.logRef = '' + nodeVariables.logLoadingRef = true + nodeVariables.skipLineNum = 0 + nodeVariables.limit = 1000 + } + } + ) + onBeforeUnmount(() => clearInterval(statusTimerRef.value)) return () => (