From 168e2a8f4c5a7ea456e0d19a7965cf51f9002f5b Mon Sep 17 00:00:00 2001 From: marvzhang Date: Thu, 13 Feb 2020 14:53:47 +0800 Subject: [PATCH] fixed log refresh issue --- frontend/src/store/modules/task.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/store/modules/task.js b/frontend/src/store/modules/task.js index 563fc907..595ec7b0 100644 --- a/frontend/src/store/modules/task.js +++ b/frontend/src/store/modules/task.js @@ -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)