mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 05:32:48 +00:00
默认显示密码
This commit is contained in:
parent
aa14bbb8f8
commit
2e965d4ad6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cool-admin-vue",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
|
||||
@ -60,8 +60,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
username: "admin",
|
||||
password: "123456",
|
||||
username: "",
|
||||
password: "",
|
||||
captchaId: "",
|
||||
verifyCode: ""
|
||||
},
|
||||
@ -123,7 +123,6 @@ export default {
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
background-color: #2f3447;
|
||||
|
||||
.box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -134,31 +133,25 @@ export default {
|
||||
position: absolute;
|
||||
left: calc(50% - 250px);
|
||||
top: calc(50% - 250px);
|
||||
|
||||
.logo {
|
||||
height: 50px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.desc {
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
margin-bottom: 60px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
/deep/.el-form {
|
||||
width: 300px;
|
||||
border-radius: 3px;
|
||||
|
||||
.el-form-item {
|
||||
margin-bottom: 20px;
|
||||
|
||||
&__label {
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
.el-input {
|
||||
.el-input__inner {
|
||||
border: 0;
|
||||
@ -169,12 +162,10 @@ export default {
|
||||
color: #ccc;
|
||||
transition: border-color 0.3s;
|
||||
position: relative;
|
||||
|
||||
&:focus {
|
||||
border-color: #fff;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&:-webkit-autofill {
|
||||
-webkit-text-fill-color: #fff !important;
|
||||
-webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
|
||||
@ -182,10 +173,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.captcha {
|
||||
position: relative;
|
||||
|
||||
.value {
|
||||
position: absolute;
|
||||
bottom: 1px;
|
||||
@ -193,7 +182,6 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
margin-top: 40px;
|
||||
border-radius: 30px;
|
||||
|
||||
@ -260,7 +260,6 @@ export default {
|
||||
prop: "password",
|
||||
label: "密码",
|
||||
span: 12,
|
||||
hidden: ":isAdd",
|
||||
component: {
|
||||
name: "el-input",
|
||||
attrs: {
|
||||
@ -348,16 +347,6 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
prop: "tips",
|
||||
hidden: ":isEdit",
|
||||
component: (
|
||||
<div>
|
||||
<i class="el-icon-warning"></i>
|
||||
<span style="margin-left: 6px">新增用户默认密码为:123456</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -473,7 +462,6 @@ export default {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dept {
|
||||
height: 100%;
|
||||
width: 300px;
|
||||
@ -482,17 +470,14 @@ export default {
|
||||
transition: width 0.3s;
|
||||
margin-right: 10px;
|
||||
flex-shrink: 0;
|
||||
|
||||
&._collapse {
|
||||
margin-right: 0;
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.user {
|
||||
width: calc(100% - 310px);
|
||||
flex: 1;
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -500,13 +485,11 @@ export default {
|
||||
height: 40px;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
|
||||
span {
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
@ -521,7 +504,6 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dept,
|
||||
.user {
|
||||
overflow: hidden;
|
||||
@ -529,7 +511,6 @@ export default {
|
||||
height: calc(100% - 40px);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.dept {
|
||||
width: calc(100% - 100px);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user