You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/04/26 12:42:00 UTC

[dolphinscheduler] branch dev updated: [Bug]Fix log request errors (#9791)

This is an automated email from the ASF dual-hosted git repository.

songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 52b188b347 [Bug]Fix log request errors (#9791)
52b188b347 is described below

commit 52b188b3479dadf54d160bacfe5b19c3fd82d038
Author: labbomb <73...@qq.com>
AuthorDate: Tue Apr 26 20:41:54 2022 +0800

    [Bug]Fix log request errors (#9791)
---
 .../src/views/projects/workflow/components/dag/index.tsx    | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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 () => (