|
@@ -590,9 +590,7 @@ const app = new Vue({
|
|
|
request.get('/api/public/v5/pushflow/popup').then(res => {
|
|
|
if (res.success) {
|
|
|
this.isFiringNoOperationSetTimeout = res.data
|
|
|
- if (this.isFiringNoOperationSetTimeout) {
|
|
|
- this.noOperationSetTimeout()
|
|
|
- }
|
|
|
+ this.noOperationSetTimeout()
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -608,7 +606,7 @@ const app = new Vue({
|
|
|
|
|
|
// 不触碰屏幕显示退出链接弹窗
|
|
|
noOperationSetTimeout(key) {
|
|
|
- if (this.isFiringNoOperationSetTimeout) return
|
|
|
+ if (!this.isFiringNoOperationSetTimeout) return
|
|
|
clearTimeout(noOperationSetTimeoutTimeInterval)
|
|
|
if (key === 'cancel') {
|
|
|
clearInterval(noOperationSetIntervalTimeInterval)
|
|
@@ -721,9 +719,13 @@ const app = new Vue({
|
|
|
// 移开手指时会发生的回调
|
|
|
touchendRtcMediaPlayer(event) {
|
|
|
this.engine.touchClick(event, 1, true)
|
|
|
- if (this.isFiringNoOperationSetTimeout) {
|
|
|
- this.noOperationSetTimeout()
|
|
|
- }
|
|
|
+ this.noOperationSetTimeout()
|
|
|
+ },
|
|
|
+
|
|
|
+ // 返回、主页、任务器
|
|
|
+ footerBtnFun(key) {
|
|
|
+ this.engine[key]()
|
|
|
+ this.noOperationSetTimeout()
|
|
|
}
|
|
|
}
|
|
|
})
|