Commit a201868b authored by tyyin lan's avatar tyyin lan

chore(登录): 默认验证码卡片展示

parent 2475e6f8
...@@ -35,7 +35,7 @@ const smsLoginFormRef = useTemplateRef<FormInst>('smsLoginFormRef') ...@@ -35,7 +35,7 @@ const smsLoginFormRef = useTemplateRef<FormInst>('smsLoginFormRef')
const emailLoginFormRef = useTemplateRef<FormInst>('emailLoginFormRef') const emailLoginFormRef = useTemplateRef<FormInst>('emailLoginFormRef')
const countdownRef = useTemplateRef<CountdownInst>('countdownRef') const countdownRef = useTemplateRef<CountdownInst>('countdownRef')
const currentLoginMethod = ref<LoginMethod>('password') const currentLoginMethod = ref<LoginMethod>('sms')
const showCardReserveAnimation = ref(false) const showCardReserveAnimation = ref(false)
const loginBtnLoading = ref(false) const loginBtnLoading = ref(false)
...@@ -232,6 +232,8 @@ function handleLoginSubmit(method: LoginMethod) { ...@@ -232,6 +232,8 @@ function handleLoginSubmit(method: LoginMethod) {
memberId: res.data.memberId, memberId: res.data.memberId,
mobilePhone: res.data.mobilePhone, mobilePhone: res.data.mobilePhone,
nickName: res.data.nickName, nickName: res.data.nickName,
remark: res.data.remark,
email: res.data.email,
}) })
const redirectUrl = decodeURIComponent((route.query.redirect as string) || '') const redirectUrl = decodeURIComponent((route.query.redirect as string) || '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment