From 3ff3dde612631fde0321e3d2d135a3d82be71705 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)