Commit e4b6fd83 by sunchao

首页广告不显示

parent 904d27ec
...@@ -117,10 +117,12 @@ ...@@ -117,10 +117,12 @@
} }
//页面刷新的时候不出现 //页面刷新的时候不出现
if (window.name == "") { if (window.name == "") {
if(window.location.pathname != '/ydLife/identify'){
window.name = "isReload"; // 在首次进入页面时我们可以给window.name设置一个固定值 window.name = "isReload"; // 在首次进入页面时我们可以给window.name设置一个固定值
initialize(); initialize();
getknowledgeQry(); getknowledgeQry();
} }
}
//用于去除alert的url //用于去除alert的url
window.alert = function (name) { window.alert = function (name) {
......
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