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