Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JJ_page_homework
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
JJ_page_homework
Commits
7d95abaf
Commit
7d95abaf
authored
Apr 11, 2024
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
d383a19b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
JJ_page_homework_homeworkPage.ts
.../JJ_page_homework/script/JJ_page_homework_homeworkPage.ts
+4
-0
No files found.
assets/JJ_page_homework/script/JJ_page_homework_homeworkPage.ts
View file @
7d95abaf
...
...
@@ -161,6 +161,10 @@ export default class NewClass extends cc.Component {
const
items_count
=
30
;
const
data
=
await
global
.
middleLayer
.
asyncCallNetworkApiGetNew
(
`api/app_source/v1/student/homeworks/page/
${
page
}
`
,
{
items_count
});
console
.
log
(
'
getHomeworkData data:
'
,
data
);
if
(
typeof
data
==
'
object
'
)
{
console
.
log
(
"
data str:
"
,
JSON
.
stringify
(
data
));
}
if
(
data
.
code
!=
200
)
{
global
.
middleLayer
.
showTips
(
data
.
msg
);
return
;
...
...
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