Commit cb8477e0 authored by 黄贤军's avatar 黄贤军

2.0

parent a78ea7e2
Pipeline #22437 passed with stage
in 1 minute and 1 second
...@@ -606,7 +606,7 @@ export default { ...@@ -606,7 +606,7 @@ export default {
}, },
get_info_logs(since_time) { get_info_logs(since_time) {
axios.get(`mesAPI/info/logs/?since_time=${since_time}`).then(res => { axios.get(`mesAPI/info/logs/?since_time=${since_time}`).then(res => {
if (res.data.indexOf('runner安装成功') !== -1 || res.data.indexOf('远程升级完成') !== -1 || res.data.indexOf('runner安装失败') !== -1 || res.data.indexOf('远程升级失败') !== -1 || res.data.indexOf('docker安装成功') !== -1 || res.data.indexOf('docker安装失败') !== -1) { if (res.data.indexOf('runner安装成功') !== -1 || res.data.indexOf('远程升级成功') !== -1 || res.data.indexOf('runner安装失败') !== -1 || res.data.indexOf('远程升级失败') !== -1 || res.data.indexOf('docker安装成功') !== -1 || res.data.indexOf('docker安装失败') !== -1) {
clearInterval(this.chatTimer) clearInterval(this.chatTimer)
this.text = res.data this.text = res.data
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment