diff --git a/index.html b/index.html index 4ab2889..d1c515d 100644 --- a/index.html +++ b/index.html @@ -164,13 +164,12 @@ closeWindowOpen(); } }, function (xhr, status, error) { - console.log(xhr, status, error) errorFn(xhr, status, error) }, null); } else { console.log('走的自己登录'); - login(miniAdmin); - //window.location = 'page/401.html'; + // login(miniAdmin); + window.location = 'page/401.html'; } /* var options = { iniUrl: "api/init.json", // 初始化接口 @@ -205,7 +204,7 @@ // 初始化页面 function initPage(miniAdmin){ var options = { - iniUrl: "api/initback.json", // 初始化接口 + iniUrl: "api/init.json", // 初始化接口 clearUrl: "api/clear.json", // 缓存清理接口 urlHashLocation: true, // 是否打开hash定位 bgColorDefault: false, // 主题默认配置