Commit da930351 authored by 袁玲利's avatar 袁玲利

Merge branch 'v_req_11.2' into uat

parents 42d9e129 d7e8e919
......@@ -20,12 +20,6 @@ var gHost = "https://" + window.location.host;
if (window.location.protocol != "https:") {
gHost = "https://uat-pay.xiaopay.net";
}
window.addEventListener('beforeunload', function(e) {
// 在此处添加需要执行的代码
// 例如:发送请求、保存数据等
// 注意:在有些浏览器上,这里不能弹出提示框,只能做些无感知操作
console.log('zzzzzzzzzzzzzzzzzzzzzzz')
});
export default {
data() {
return {
......@@ -133,7 +127,6 @@ export default {
const self = this;
this.timer = setInterval(() => {
this.second += 1;
console.log(this.second, "xxxxxxxxx");
if (this.second == 5) {
self.params.behavior = "duration";
self.params.data = "5s";
......@@ -234,10 +227,10 @@ export default {
});
},
},
beforeDestroy() {
console.log('111111111')
this.params.behavior = "viewPage";
this.params.data = "closePage";
onHide() {
console.log('2222')
this.params.behavior = "closePage";
this.params.data = "gameOrder";
this.GameStatistics();
if (this.timer !== null) {
clearInterval(this.timer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment