|
@@ -469,15 +469,13 @@ export default {
|
|
|
let this_ = this;
|
|
|
let timer;
|
|
|
if (this_.ruleForm.email) {
|
|
|
- this_.VerificationCodeShow = true;
|
|
|
-
|
|
|
let MethodName = "user_manager-SendVerificationCode";
|
|
|
let data = {
|
|
|
verification_type: this.register == "邮箱" ? "EMAIL" : "SMS",
|
|
|
phone_or_email: this_.ruleForm.email,
|
|
|
};
|
|
|
getLogin(MethodName, data).then((res) => {
|
|
|
- console.log(res);
|
|
|
+ this_.VerificationCodeShow = true;
|
|
|
timer = setInterval(() => {
|
|
|
this_.time--;
|
|
|
if (this_.time == 0) {
|