注册验证码修改

This commit is contained in:
jjLv 2024-10-29 13:39:52 +08:00
parent ba51511ac0
commit f5a9dbccf6
1 changed files with 5 additions and 1 deletions

View File

@ -230,7 +230,11 @@ export default {
return
}
this.$store.dispatch('GetPhoneCode', this.registerForm)
.then(() => {
.then((response) => {
this.$alert("<font color='red'>获取的验证码为 " + response.data + " </font>", '系统提示', {
dangerouslyUseHTMLString: true,
type: 'success'
})
this.isSendingCode = true
this.countdown = 60
const timer = setInterval(() => {