Commit 793bdcc3 authored by 赵啸非's avatar 赵啸非

临时修改设备管理保修期

parent 69a3e02c
...@@ -6,10 +6,6 @@ ...@@ -6,10 +6,6 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>sbgl.ico" /> <link rel="icon" href="<%= BASE_URL %>sbgl.ico" />
<title></title> <title></title>
<!-- <link
rel="stylesheet"
href="https://unpkg.zhimg.com/element-ui@2.15.5/lib/theme-chalk/index.css"
/>-->
<style> <style>
@font-face { @font-face {
font-family: "PangMenZhengDao"; font-family: "PangMenZhengDao";
...@@ -18,13 +14,6 @@ ...@@ -18,13 +14,6 @@
</style> </style>
</head> </head>
<body> <body>
<noscript>
<strong
>We're sorry but app doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong
>
</noscript>
<div id="app"></div> <div id="app"></div>
</body> </body>
</html> </html>
...@@ -114,27 +114,6 @@ function getComponent(fileName) { ...@@ -114,27 +114,6 @@ function getComponent(fileName) {
return fileNotFound; return fileNotFound;
} }
} }
//检查是否跳转到sso地址
function ssoCheck(to, from, next) {
console.log("to", to);
console.log("from", from);
console.log("next", next);
let redirect = to.path === "/login/updatePwd" ? "/#/updatePwd" : "";
redirect =
redirect === "" && to.path === "/login"
? location.protocol + "//" + location.host + "/#" + from.fullPath
: redirect;
if (redirect != "") {
next(false);
window.location.href =
"//" +
location.host +
"/m/login/logout?redirect=" +
encodeURIComponent(redirect);
return true;
}
return false;
}
router.afterEach(() => { router.afterEach(() => {
document.body.scrollTop = 0; document.body.scrollTop = 0;
......
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