|
|
@@ -77,7 +77,11 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.$globalEventBus.$on('clickVideoInspectPlay', (data) => {
|
|
|
- console.info(data.taskInfo)
|
|
|
+ if(this.timer){
|
|
|
+ clearInterval(this.timer)
|
|
|
+ }
|
|
|
+ this.currentTime = 0
|
|
|
+ this.isRunning = false
|
|
|
this.type = data.type
|
|
|
this.taskInfo = data.taskInfo
|
|
|
this.devName = data.point && data.point.devName ? data.point.devName : ''
|