opt: add tip message when no available key

This commit is contained in:
RockYang
2023-07-06 10:34:01 +08:00
parent ae255a3bd9
commit d1a6ac531f
2 changed files with 6 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ const sendMsg = () => {
httpGet('/api/verify/token').then(res => {
httpPost('/api/verify/sms', {token: res.data, mobile: props.mobile}).then(() => {
ElMessage.success('短信发送成功')
let time = 10
let time = 120
btnText.value = time
const handler = setInterval(() => {
time = time - 1