Commit 0b1f623c authored by xulili's avatar xulili

修改登录样式

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