Browse Source

[Fix][UI] fix bug where log modal display object (#11271)

3.1.0-release
Devosend 2 years ago committed by GitHub
parent
commit
9ba9a0ff82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      dolphinscheduler-ui/src/views/projects/workflow/components/dag/index.tsx

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

@ -241,11 +241,11 @@ export default defineComponent({
taskInstanceId: nodeVariables.logTaskId, taskInstanceId: nodeVariables.logTaskId,
limit: nodeVariables.limit, limit: nodeVariables.limit,
skipLineNum: nodeVariables.skipLineNum skipLineNum: nodeVariables.skipLineNum
}).then((res: string) => { }).then((res: any) => {
nodeVariables.logRef += res if (res.message) {
if (res) { nodeVariables.logRef += res.message
nodeVariables.limit += 1000 nodeVariables.limit += 1000
nodeVariables.skipLineNum += 1000 nodeVariables.skipLineNum += res.lineNum
getLogs() getLogs()
} else { } else {
nodeVariables.logLoadingRef = false nodeVariables.logLoadingRef = false

Loading…
Cancel
Save