feat: 在发送验证码成功后添加提示消息
This commit is contained in:
@ -18,6 +18,7 @@ const sendSms = async () => {
|
|||||||
try {
|
try {
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||||
triggerCountdown();
|
triggerCountdown();
|
||||||
|
ToastService.add({ severity: 'info', summary: '提示', life: 3000, detail: '验证码发送成功' });
|
||||||
} finally {
|
} finally {
|
||||||
isSending.value = false;
|
isSending.value = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user