|
|
@@ -53,7 +53,7 @@
|
|
|
<el-form-item label="密码" prop="pwd">
|
|
|
<el-input
|
|
|
:type="pwdShow ? 'text' : 'password'"
|
|
|
- placeholder="请输入密码 至少六个字符"
|
|
|
+ placeholder="请输入密码,至少包含6位字符"
|
|
|
v-model="ruleFormEmail.pwd"
|
|
|
>
|
|
|
<i class="el-icon-view switch-passowrd" @click="pwdShow = !pwdShow" slot="suffix"></i>
|
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
},
|
|
|
rulesEmail: {
|
|
|
email: [
|
|
|
- { validator: validateEmail, trigger: 'blur' },
|
|
|
+ { validator: validateEmail, message: '请输入正确的邮箱', trigger: 'blur' },
|
|
|
],
|
|
|
ver: [
|
|
|
{ required: true, message: '请输入验证码', trigger: 'blur' },
|
|
|
@@ -159,7 +159,7 @@ export default {
|
|
|
],
|
|
|
pwd: [
|
|
|
{ required: true, message: '请输入密码', trigger: 'blur' },
|
|
|
- { min: 6, message: '请输入6位以上密码', trigger: 'blur' },
|
|
|
+ { min: 6, message: '密码至少为6位字符', trigger: 'blur' },
|
|
|
],
|
|
|
}
|
|
|
}
|
|
|
@@ -168,7 +168,7 @@ export default {
|
|
|
if(this.$store.getters.isLogin) {
|
|
|
this.$message('你已有注册的账号')
|
|
|
setTimeout(() => {
|
|
|
- location.href = '/'
|
|
|
+ // location.href = '/'
|
|
|
}, 1000)
|
|
|
}
|
|
|
},
|