ocr刷新

This commit is contained in:
caoyang
2022-03-14 17:51:23 +08:00
parent c3bee0a86b
commit 4cb567eaf7
10 changed files with 370 additions and 40 deletions
@@ -68,7 +68,8 @@
lockReconnect: false,
heartCheck: null,
formData: {},
openPath: ''
openPath: '',
timer:''
}
},
computed: {
@@ -82,6 +83,11 @@
this.initWebSocket()
this.heartCheckFun()
},
beforeDestroy() {
if(this.timer){
clearInterval(this.timer)
}
},
destroyed: function() { // 离开页面生命周期函数
this.websocketOnclose()
},