fix: move dedicated components to components folder
This commit is contained in:
@@ -104,7 +104,7 @@ const obtainSmsCode = () => {
|
||||
}).then(res => {
|
||||
sms_triggered.value = true
|
||||
sms_sending.value = false
|
||||
sms_counting_down.value = 60 // TODO: modify this to change the countdown time
|
||||
sms_counting_down.value = 60 // TODO: save timestamp to localstorage
|
||||
toast.add({title: '短信验证码已发送', color: 'indigo', icon: 'i-tabler-circle-check'})
|
||||
const interval = setInterval(() => {
|
||||
sms_counting_down.value--
|
||||
|
||||
Reference in New Issue
Block a user