From f35aa49587ecf96c23297744017d90a0a09068ff Mon Sep 17 00:00:00 2001 From: syruan <15555146157@163.com> Date: Thu, 4 Dec 2025 10:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E7=BA=BFindex=E7=99=BB=E9=99=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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, // 主题默认配置