Commit 205821e1 by agan

xg

parent 834e0bad
Showing with 4 additions and 1 deletions
......@@ -162,6 +162,7 @@ function webAppComm() {
];
this.urlData = this.url_get_params(location.href);
this.langType = this.urlData.lang;
this.needRefresh = false;
}
//分享
......@@ -407,7 +408,9 @@ webAppComm.prototype.changeTitle2 = function () {
//刷新网页
webAppComm.prototype.refreshWeb = function (callback) {
callback && callback();
location.reload();
if (this.needRefresh) {
location.reload();
}
}
// 35:打开游戏
......
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 sign in to comment