forked from github/dataease
feat: 更新任务列表页 自动刷新(5s)
This commit is contained in:
parent
196c003445
commit
9ec595a158
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user