From 025db544adee9f2c303e213de936a74c14c1b05a Mon Sep 17 00:00:00 2001 From: marvzhang Date: Thu, 13 Feb 2020 14:21:03 +0800 Subject: [PATCH 1/2] fixed SpiderList view --- frontend/src/components/InfoView/SpiderInfoView.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/InfoView/SpiderInfoView.vue b/frontend/src/components/InfoView/SpiderInfoView.vue index 48b70a12..801c0fce 100644 --- a/frontend/src/components/InfoView/SpiderInfoView.vue +++ b/frontend/src/components/InfoView/SpiderInfoView.vue @@ -23,6 +23,7 @@ v-model="spiderForm.project_id" :placeholder="$t('Project')" filterable + :disabled="isView" > - + From 168e2a8f4c5a7ea456e0d19a7965cf51f9002f5b Mon Sep 17 00:00:00 2001 From: marvzhang Date: Thu, 13 Feb 2020 14:53:47 +0800 Subject: [PATCH 2/2] 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)