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) {