diff --git a/src/frontend/devops-pipeline/package.json b/src/frontend/devops-pipeline/package.json index 69f6e83906a..daadce9231b 100755 --- a/src/frontend/devops-pipeline/package.json +++ b/src/frontend/devops-pipeline/package.json @@ -14,7 +14,7 @@ "public:external": "cross-env NODE_ENV=external npm run public --" }, "dependencies": { - "@blueking/log": "2.2.0-beta.26", + "@blueking/log": "2.2.0-beta.27", "@blueking/search-select": "0.0.1-beta.2", "@icon-cool/bk-icon-devops": "^0.2.1", "axios": "^0.28.0", diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/log/jobLog.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/log/jobLog.vue index 8b760075073..b3320defbfd 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/log/jobLog.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/log/jobLog.vue @@ -155,6 +155,8 @@ ref.setSingleLogData(item, id) ref.scrollAILogToBottom(id) } + }).then(() => { + this.handleGetPraiseAiInfo({ id, item }) }) }, diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/log/pluginLog.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/log/pluginLog.vue index 941a55acda9..b223e10352f 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/log/pluginLog.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/log/pluginLog.vue @@ -247,6 +247,8 @@ scrollRef.setSingleLogData(item) scrollRef.scrollAILogToBottom() } + }).then(() => { + this.handleGetPraiseAiInfo(item) }) }, diff --git a/src/frontend/devops-pipeline/src/store/modules/atom/actions.js b/src/frontend/devops-pipeline/src/store/modules/atom/actions.js index cf728be9f92..33fa821af51 100755 --- a/src/frontend/devops-pipeline/src/store/modules/atom/actions.js +++ b/src/frontend/devops-pipeline/src/store/modules/atom/actions.js @@ -813,9 +813,9 @@ export default { if (currentExe) { url += `&executeCount=${currentExe}` } - window.fetch(url, { + return window.fetch(url, { method: 'post' - }).then(async (response) => { + }).then((response) => { const reader = response.body.getReader() const decoder = new TextDecoder()