Commit 0b1f623c authored by xulili's avatar xulili

修改登录样式

parent b0a16dfc
......@@ -103,8 +103,8 @@ export default {
localStorage.setItem("userId", resData.user.id);
localStorage.setItem("backToken", resData.token);
localStorage.setItem("roleList", resData.user.roleList);
if(!resData.user.permanent){
localStorage.setItem("expireNum", resData.expireNum);
if (!resData.user.permanent) {
localStorage.setItem("expireNum", resData.expireNum);
}
localStorage.setItem(
"menuList",
......@@ -113,9 +113,7 @@ export default {
if (resData.isDefault) {
this.$alert("登录成功,为了安全,建议修改密码", "", {
confirmButtonText: "确定",
callback: (action) => {
},
callback: (action) => {},
});
}
if (_this.$route.query.redirect) {
......@@ -165,6 +163,7 @@ export default {
content: "";
width: 100%;
height: auto;
z-index: 1;
}
&:before {
height: 100px;
......@@ -186,6 +185,7 @@ export default {
margin-top: -50%;
margin-left: -50%;
width: 100%;
z-index: 2;
}
.page-title {
width: 100%;
......
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