fixed inconsistency of timestamp issue

This commit is contained in:
Marvin Zhang
2019-03-12 20:28:50 +08:00
parent 5b190e5b2b
commit ce5e5d8f1d
19 changed files with 73 additions and 62 deletions

View File

@@ -41,7 +41,7 @@ const actions = {
if (data.create_ts) data.create_ts = dayjs(data.create_ts.$date).format('YYYY-MM-DD HH:mm:ss')
if (data.finish_ts) data.finish_ts = dayjs(data.finish_ts.$date).format('YYYY-MM-DD HH:mm:ss')
commit('SET_TASK_FORM', data)
dispatch('spider/getSpiderData', data.spider_id.$oid, { root: true })
dispatch('spider/getSpiderData', data.spider_id, { root: true })
dispatch('node/getNodeData', data.node_id, { root: true })
})
},