Commit 1ca216b5 authored by zhanglw's avatar zhanglw

登录页面样式和跳转

parent 75cbac32
......@@ -289,7 +289,7 @@ export default {
}
this.$store.dispatch('Login', user).then(() => {
this.loading = false
this.$router.push({ path: this.redirect || '/home' })
this.$router.push({ path: '/console' })
}).catch(() => {
this.loading = false
this.getCode()
......@@ -317,6 +317,10 @@ export default {
</script>
<style rel="stylesheet/scss" lang="scss">
::-webkit-scrollbar {
width : 0;
height: 0;
}
.touch {
cursor:pointer;
}
......@@ -328,6 +332,7 @@ export default {
width: 100vw;
background: #1961C5;
position: fixed;
z-index: 999;
.head-box-top {
display: flex;
justify-content: space-evenly;
......@@ -353,7 +358,7 @@ export default {
font-weight: 400;
user-select: none;
.login-panel {
height: calc(100vh - 165px);
height: 100vh;
display: table-cell;
vertical-align: middle;
}
......
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