mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-23 17:31:11 +01:00
只加载在线节点数据
This commit is contained in:
@@ -128,6 +128,7 @@ export default {
|
||||
async getData () {
|
||||
for (let i = 0; i < this.nodeList.length; i++) {
|
||||
const n = this.nodeList[i]
|
||||
if (n.status !== 'online') continue
|
||||
const res = await this.$request.get(`/nodes/${n._id}/langs`)
|
||||
res.data.data.forEach(l => {
|
||||
const key = n._id + '|' + l.executable_name
|
||||
|
||||
Reference in New Issue
Block a user