mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-25 17:42:25 +01:00
This commit is contained in:
@@ -118,10 +118,11 @@ const actions = {
|
||||
})
|
||||
},
|
||||
crawlSpider ({ state, dispatch }, payload) {
|
||||
const { id, nodeId, param } = payload
|
||||
const { spiderId, runType, nodeIds, param } = payload
|
||||
return request.put(`/tasks`, {
|
||||
spider_id: id,
|
||||
node_id: nodeId,
|
||||
spider_id: spiderId,
|
||||
run_type: runType,
|
||||
node_ids: nodeIds,
|
||||
param: param
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user