1兼容数智五环大屏,跳转方法调整
This commit is contained in:
@@ -236,13 +236,15 @@ function onShowOnlyBaseClick(event) {
|
||||
var checked = this.isChecked();
|
||||
|
||||
setCookie('ShowOnlyBase', checked);
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
|
||||
function onSearchTrigger1Click(event) {
|
||||
F.removeCookie('SearchText');
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
function onSearchTrigger2Click(event) {
|
||||
@@ -253,7 +255,8 @@ function onSearchTrigger2Click(event) {
|
||||
var ttbxSearchValue = ttbxSearch.getValue();
|
||||
if (ttbxSearchValue) {
|
||||
setCookie('SearchText', this.getValue());
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -301,7 +304,8 @@ function onToolRefreshClick(event) {
|
||||
// 点击标题栏工具图标 - 刷新
|
||||
function onPageClick(event) {
|
||||
var url = "index.aspx?type=" + event.target.innerText;
|
||||
top.window.location.href = url;
|
||||
// top.window.location.href = url;
|
||||
window.location.href = url;
|
||||
}
|
||||
|
||||
// 点击标题栏工具图标 - 在新标签页中打开
|
||||
@@ -423,7 +427,8 @@ function onMenuStyleCheckChange(event, item, checked) {
|
||||
var menuStyle = item.getAttr('data-tag');
|
||||
|
||||
setCookie('MenuStyle', menuStyle);
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
// 点击显示模式
|
||||
@@ -431,7 +436,8 @@ function onMenuDisplayModeCheckChange(event, item, checked) {
|
||||
var displayMode = item.getAttr('data-tag');
|
||||
|
||||
setCookie('DisplayMode', displayMode);
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
// 点击语言
|
||||
@@ -439,7 +445,8 @@ function onMenuLangCheckChange(event, item, checked) {
|
||||
var lang = item.getAttr('data-tag');
|
||||
|
||||
setCookie('Language', lang);
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
// 点击选项卡标签页
|
||||
@@ -447,7 +454,8 @@ function onMenuMainTabsCheckChange(event, item, checked) {
|
||||
var mainTabs = item.getAttr('data-tag');
|
||||
|
||||
setCookie('MainTabs', mainTabs);
|
||||
top.window.location.reload();
|
||||
// top.window.location.reload();
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user