feat: 更新任务列表页 自动刷新(5s)

This commit is contained in:
taojinlong 2021-06-01 16:10:47 +08:00
parent 196c003445
commit 9ec595a158

View File

@ -379,6 +379,12 @@ export default {
mounted() {
this.calHeight()
},
created() {
this.timer = setInterval(this.listTaskLog, 5000)
},
beforeDestroy() {
clearInterval(this.timer)
},
methods: {
calHeight() {
const that = this