This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch 3.0.0-prepare in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit 5e366ff6f123ac5127f0d504ea33fc51cb641e4a Author: Devosend <[email protected]> AuthorDate: Wed Aug 3 13:54:32 2022 +0800 [Fix][UI] fix bug where log modal display object (#11271) (cherry picked from commit 9ba9a0ff8216cc920969f15f50105ddc5cd1e13e) --- .../src/views/projects/workflow/components/dag/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx index b634c0bb08..fcb49bbe8f 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx +++ b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx @@ -241,11 +241,11 @@ export default defineComponent({ taskInstanceId: nodeVariables.logTaskId, limit: nodeVariables.limit, skipLineNum: nodeVariables.skipLineNum - }).then((res: string) => { - nodeVariables.logRef += res - if (res) { + }).then((res: any) => { + if (res.message) { + nodeVariables.logRef += res.message nodeVariables.limit += 1000 - nodeVariables.skipLineNum += 1000 + nodeVariables.skipLineNum += res.lineNum getLogs() } else { nodeVariables.logLoadingRef = false
