feat: 短信发送
This commit is contained in:
parent
b7804faedc
commit
d9e2960173
|
@ -348,12 +348,13 @@ export default {
|
|||
|
||||
getSmsCaptcha({ phone: values.mobile, type: 'register' })
|
||||
.then(res => {
|
||||
setTimeout(hide, 2500)
|
||||
$notification['success']({
|
||||
message: '提示',
|
||||
description: '验证码获取成功,您的验证码为:' + res.result.captcha,
|
||||
duration: 8
|
||||
})
|
||||
hide()
|
||||
this.$message.success('发送成功!')
|
||||
// $notification['success']({
|
||||
// message: '提示',
|
||||
// description: '验证码获取成功,您的验证码为:' + res.result.captcha,
|
||||
// duration: 8
|
||||
// })
|
||||
})
|
||||
.catch(err => {
|
||||
setTimeout(hide, 1)
|
||||
|
|
Loading…
Reference in New Issue