forked from github/dataease
feat(frontend):登陆页UI fix;文字提示修改
This commit is contained in:
parent
592e8c9c5e
commit
af6dd2557b
@ -83,8 +83,8 @@ export default {
|
||||
thirdpartyTips: 'Can not be simulated on local, so please combine you own business simulation! ! !',
|
||||
expires: 'Login token expired, please login again',
|
||||
tokenError: 'Token error, please login again',
|
||||
username_error: 'Please enter the correct user name',
|
||||
password_error: 'The password can not be less than 6 digits'
|
||||
username_error: 'Please enter the correct ID',
|
||||
password_error: 'The password can not be less than 8 digits'
|
||||
},
|
||||
commons: {
|
||||
close: 'Close',
|
||||
|
@ -83,8 +83,8 @@ export default {
|
||||
thirdpartyTips: '本地不能模拟,请结合自己业务进行模拟!!!',
|
||||
expires: '登陸信息过期,请重新登陸',
|
||||
tokenError: '信息错误,请重新登陸',
|
||||
username_error: '請輸入正確的用戶名',
|
||||
password_error: '密碼不小於6位'
|
||||
username_error: '請輸入正確的ID',
|
||||
password_error: '密碼不小於8位'
|
||||
},
|
||||
commons: {
|
||||
icon: '圖標',
|
||||
|
@ -83,8 +83,8 @@ export default {
|
||||
thirdpartyTips: '本地不能模拟,请结合自己业务进行模拟!!!',
|
||||
expires: '登录token过期,请重新登录',
|
||||
tokenError: 'token错误,请重新登录',
|
||||
username_error: '请输入正确的用户名',
|
||||
password_error: '密码不小于6位'
|
||||
username_error: '请输入正确的ID',
|
||||
password_error: '密码不小于8位'
|
||||
},
|
||||
commons: {
|
||||
close: '关闭',
|
||||
|
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
<div class="login-form">
|
||||
<el-form-item prop="username">
|
||||
<el-input v-model="loginForm.username" :placeholder="$t('login.username')" autofocus />
|
||||
<el-input v-model="loginForm.username" placeholder="ID" autofocus />
|
||||
</el-form-item>
|
||||
<el-form-item prop="password">
|
||||
<el-input
|
||||
@ -73,7 +73,7 @@ export default {
|
||||
// }
|
||||
}
|
||||
const validatePassword = (rule, value, callback) => {
|
||||
if (value.length < 6) {
|
||||
if (value.length < 8) {
|
||||
callback(this.$t('login.password_error'))
|
||||
} else {
|
||||
callback()
|
||||
@ -230,7 +230,12 @@ export default {
|
||||
}
|
||||
|
||||
& ::v-deep .el-input__inner {
|
||||
border-radius: 0;
|
||||
border-radius: 20px;
|
||||
border: 1px solid transparent;
|
||||
background: rgba(10,123,224,.1);
|
||||
}
|
||||
& :focus {
|
||||
border: 1px solid $--color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
@ -243,7 +248,7 @@ export default {
|
||||
|
||||
.submit {
|
||||
width: 100%;
|
||||
border-radius: 0;
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user