refactor(login): 调整登录页面验证码功能

- 启用验证码发送功能
- 注释掉模拟数据发送代码
-优化代码结构,提高可读性
This commit is contained in:
xingyy 2025-01-21 11:46:47 +08:00
parent 7a968f1fe6
commit f3d5a3440c

View File

@ -85,7 +85,7 @@ watch(locale, () => {
})
const vanSwipeRef=ref(null)
const getCode =async () => {
/* loadingRef.value.loading1=true
loadingRef.value.loading1=true
const res=await senCode({
telNum:phoneNum.value,
zone:selectedZone.value
@ -97,11 +97,11 @@ const getCode =async () => {
showKeyboard.value=true
startCountdown();
}*/
pane.value = 1
}
/* pane.value = 1
vanSwipeRef.value?.swipeTo(pane.value)
showKeyboard.value=true
startCountdown();
startCountdown();*/
}
const goBack = () => {