refactor(login): 调整登录页面验证码功能
- 启用验证码发送功能 - 注释掉模拟数据发送代码 -优化代码结构,提高可读性
This commit is contained in:
parent
7a968f1fe6
commit
f3d5a3440c
@ -85,7 +85,7 @@ watch(locale, () => {
|
|||||||
})
|
})
|
||||||
const vanSwipeRef=ref(null)
|
const vanSwipeRef=ref(null)
|
||||||
const getCode =async () => {
|
const getCode =async () => {
|
||||||
/* loadingRef.value.loading1=true
|
loadingRef.value.loading1=true
|
||||||
const res=await senCode({
|
const res=await senCode({
|
||||||
telNum:phoneNum.value,
|
telNum:phoneNum.value,
|
||||||
zone:selectedZone.value
|
zone:selectedZone.value
|
||||||
@ -97,11 +97,11 @@ const getCode =async () => {
|
|||||||
showKeyboard.value=true
|
showKeyboard.value=true
|
||||||
startCountdown();
|
startCountdown();
|
||||||
|
|
||||||
}*/
|
}
|
||||||
pane.value = 1
|
/* pane.value = 1
|
||||||
vanSwipeRef.value?.swipeTo(pane.value)
|
vanSwipeRef.value?.swipeTo(pane.value)
|
||||||
showKeyboard.value=true
|
showKeyboard.value=true
|
||||||
startCountdown();
|
startCountdown();*/
|
||||||
|
|
||||||
}
|
}
|
||||||
const goBack = () => {
|
const goBack = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user