Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6e2e1291
authored
Aug 15, 2025
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机号登录修改
parent
c1952428
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
+1
-5
src/api/login.js
+0
-4
src/views/login.vue
+1
-1
No files found.
src/api/login.js
View file @
6e2e1291
...
...
@@ -59,10 +59,6 @@ export function sendCode(data) {
export
function
submitCode
(
data
)
{
return
request
({
url
:
'/member/auth/sms-login'
,
headers
:
{
isToken
:
false
,
repeatSubmit
:
false
},
method
:
'post'
,
data
:
data
})
...
...
src/views/login.vue
View file @
6e2e1291
...
...
@@ -154,7 +154,7 @@ const startCountdown = () => {
}
;
function
getCode
()
{
sendCode
({
mobile
:
loginForm
.
value
.
mobile
,
scene
:
1
}
).
then
(
res
=>
{
sendCode
({
mobile
:
loginForm
.
value
.
phoneNumber
,
scene
:
1
}
).
then
(
res
=>
{
if
(
res
.
data
===
true
)
{
ElMessage
({
message
:
'短信已发送请注意查收'
,
type
:
'success'
}
)
}
...
...
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