marvzhang
2020-07-26 17:54:48 +08:00
parent 1c4baa4627
commit b35a00db80

View File

@@ -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
@@ -229,8 +229,7 @@
await this.getTaskLog()
}
}, 5000)
},
mounted() {
if (!this.$utils.tour.isFinishedTour('task-detail')) {
this.$utils.tour.startTour(this, 'task-detail')
}