|
@@ -256,7 +256,8 @@ export default {
|
|
|
this.EmailCorrect = reg.test(this.phone_or_email);
|
|
|
if (!this.EmailCorrect) {
|
|
|
this.accountError = true;
|
|
|
- this.$message.error("手机号码不正确");
|
|
|
+ // this.$message.error("手机号码不正确");
|
|
|
+ this.$message.error(this.$t("Key656"));
|
|
|
} else {
|
|
|
this.accountError = false;
|
|
|
}
|
|
@@ -345,11 +346,11 @@ export default {
|
|
|
// 注册
|
|
|
gotoLogin() {
|
|
|
if (this.phone_or_email == "") {
|
|
|
- this.$message.warning(this.$Key("Key35"));
|
|
|
+ this.$message.warning(this.$t("Key35"));
|
|
|
return;
|
|
|
}
|
|
|
if (this.password == "") {
|
|
|
- this.$message.warning("请输入密码");
|
|
|
+ this.$message.warning(this.$t("Key655"));
|
|
|
return;
|
|
|
}
|
|
|
if (this.verification_code == "") {
|
|
@@ -358,7 +359,9 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
if (this.passwordError) {
|
|
|
- this.$message.warning("请重新输入密码,密码格式不对");
|
|
|
+ // this.$message.warning("请重新输入密码,密码格式不对");
|
|
|
+ this.$message.warning(this.$t("Key654"));
|
|
|
+
|
|
|
return;
|
|
|
}
|
|
|
if (this.twopassword != this.password) {
|