产线index登陆

This commit is contained in:
syruan 2025-12-04 10:32:20 +08:00
parent 53bf8b0a81
commit f35aa49587
1 changed files with 3 additions and 4 deletions

View File

@ -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, // 主题默认配置