mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
尝试修复工作节点未找到安装语言问题
This commit is contained in:
@@ -150,9 +150,11 @@ export default {
|
||||
}, 1000)
|
||||
},
|
||||
async onInstallAll (langName) {
|
||||
this.nodeList.map(async n => {
|
||||
return this.onInstall(n._id, langName)
|
||||
})
|
||||
this.nodeList
|
||||
.filter(n => n.status === 'online')
|
||||
.forEach(n => {
|
||||
this.onInstall(n._id, langName)
|
||||
})
|
||||
setTimeout(() => {
|
||||
this.getData()
|
||||
}, 1000)
|
||||
|
||||
Reference in New Issue
Block a user