Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
a201868b
Commit
a201868b
authored
Nov 11, 2024
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(登录): 默认验证码卡片展示
parent
2475e6f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
login.vue
src/views/login/login.vue
+3
-1
No files found.
src/views/login/login.vue
View file @
a201868b
...
...
@@ -35,7 +35,7 @@ const smsLoginFormRef = useTemplateRef<FormInst>('smsLoginFormRef')
const
emailLoginFormRef
=
useTemplateRef
<
FormInst
>
(
'emailLoginFormRef'
)
const
countdownRef
=
useTemplateRef
<
CountdownInst
>
(
'countdownRef'
)
const
currentLoginMethod
=
ref
<
LoginMethod
>
(
'
password
'
)
const
currentLoginMethod
=
ref
<
LoginMethod
>
(
'
sms
'
)
const
showCardReserveAnimation
=
ref
(
false
)
const
loginBtnLoading
=
ref
(
false
)
...
...
@@ -232,6 +232,8 @@ function handleLoginSubmit(method: LoginMethod) {
memberId
:
res
.
data
.
memberId
,
mobilePhone
:
res
.
data
.
mobilePhone
,
nickName
:
res
.
data
.
nickName
,
remark
:
res
.
data
.
remark
,
email
:
res
.
data
.
email
,
})
const
redirectUrl
=
decodeURIComponent
((
route
.
query
.
redirect
as
string
)
||
''
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment