mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-29 18:00:51 +01:00
added param to task
This commit is contained in:
@@ -101,10 +101,11 @@ const actions = {
|
||||
})
|
||||
},
|
||||
crawlSpider ({ state, dispatch }, payload) {
|
||||
const { id, nodeId } = payload
|
||||
const { id, nodeId, param } = payload
|
||||
return request.put(`/tasks`, {
|
||||
spider_id: id,
|
||||
node_id: nodeId
|
||||
node_id: nodeId,
|
||||
param: param
|
||||
})
|
||||
},
|
||||
getTaskList ({ state, commit }, id) {
|
||||
|
||||
Reference in New Issue
Block a user