diff --git a/src/store/auth/index.js b/src/store/auth/index.js index 88eb295..1359269 100644 --- a/src/store/auth/index.js +++ b/src/store/auth/index.js @@ -233,11 +233,7 @@ export const useAuth=createGlobalState(()=>{ } } const clickSendCode=async ()=>{ - if (isCountingDown.value) return; - if (!code.value){ - message.warning('请输入验证码') - return - } + if (isCountingDown.value) return if (!telNum.value){ message.warning('请输入手机号') return