Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
Overview
Overview
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
pangchong
mocp-uniapp
Commits
5f905292
Commit
5f905292
authored
Dec 19, 2025
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(mocp登录): 修正登录接口返回数据字段名错误
将res.username改为res.data.username以匹配接口返回数据结构
parent
2eebd1d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/pages/modules/mocp/login/index.vue
+1
-1
No files found.
src/pages/modules/mocp/login/index.vue
View file @
5f905292
...
...
@@ -138,7 +138,7 @@ const loginAmms = () => {
}
})
.
then
(
function
(
res
)
{
if
(
res
.
username
)
{
if
(
res
.
data
.
username
)
{
loginForm
.
username
=
res
.
data
.
username
loginForm
.
verifyCode
=
'Mocp_DebuG_9527_8341'
loginForm
.
password
=
'Ifar2016_0525'
...
...
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