forked from JointCloud/JCC-RIP
add
This commit is contained in:
parent
7b4941aa41
commit
0b84a0ddc6
|
@ -44,7 +44,8 @@ export default {
|
|||
activeName: '1',
|
||||
eventTab: '1',
|
||||
startBtnDisabled: false,
|
||||
eventFlow: []
|
||||
eventFlow: [],
|
||||
eventsLoop: undefined
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -53,10 +54,15 @@ export default {
|
|||
tabSwitch() {},
|
||||
start() {
|
||||
this.startBtnDisabled = true
|
||||
//
|
||||
this.getEventData()
|
||||
this.eventsLoop = setInterval(this.getEventData, 3000)
|
||||
},
|
||||
getEventData() {
|
||||
console.log('sss')
|
||||
},
|
||||
pause() {
|
||||
this.startBtnDisabled = false
|
||||
clearInterval(this.eventsLoop)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue