Skip to content

Commit

Permalink
fixed #810
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jul 26, 2020
1 parent 1c4baa4 commit b35a00d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/views/task/TaskDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
return ['pending', 'running'].includes(this.taskForm.status)
}
},
async created() {
async mounted() {
await this.$store.dispatch('task/getTaskData', this.$route.params.id)
this.isLogAutoFetch = !!this.isRunning
Expand All @@ -229,8 +229,7 @@
await this.getTaskLog()
}
}, 5000)
},
mounted() {
if (!this.$utils.tour.isFinishedTour('task-detail')) {
this.$utils.tour.startTour(this, 'task-detail')
}
Expand Down

0 comments on commit b35a00d

Please sign in to comment.