From d02199f44b7899f137d0f359c8afddb09b82b3e1 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Thu, 29 Jul 2021 12:34:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=88=E6=81=AF=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E8=AE=B0=E5=BD=95=E4=B9=9F=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/system/task/TaskRecord.vue | 1 + frontend/src/views/system/task/dataset.vue | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/system/task/TaskRecord.vue b/frontend/src/views/system/task/TaskRecord.vue index c8403036f7..0adc1d0db6 100644 --- a/frontend/src/views/system/task/TaskRecord.vue +++ b/frontend/src/views/system/task/TaskRecord.vue @@ -122,6 +122,7 @@ export default { computed: { }, created() { + console.log(this.param) if (this.param !== null && this.param.taskId) { this.matchLogId = this.param.logId || this.matchLogId this.transCondition['dataset_table_task.id'] = { diff --git a/frontend/src/views/system/task/dataset.vue b/frontend/src/views/system/task/dataset.vue index 86912e63ed..872b0efc29 100644 --- a/frontend/src/views/system/task/dataset.vue +++ b/frontend/src/views/system/task/dataset.vue @@ -4,10 +4,10 @@ - + - + @@ -28,7 +28,8 @@ export default { data() { return { tabActive: 'DatasetTaskList', - transCondition: {} + transCondition: {}, + task: null } }, computed: { @@ -50,6 +51,7 @@ export default { }, methods: { changeTab() { + this.task = null this.transCondition = {} }, jumpTaskRecord(task) {