fixed log refresh issue

This commit is contained in:
marvzhang
2020-02-13 14:53:47 +08:00
parent 025db544ad
commit 168e2a8f4c

View File

@@ -141,7 +141,6 @@ const actions = {
})
},
getTaskLog ({ state, commit }, id) {
commit('SET_TASK_LOG', '')
return request.get(`/tasks/${id}/log`)
.then(response => {
commit('SET_TASK_LOG', response.data.data)