Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_JJ_F
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
middleLayer_for_JJ_F
Commits
78bcfbdb
Commit
78bcfbdb
authored
Jul 16, 2025
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
789c3df5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
middleLayer.ts
assets/middleLayer_for_JJ_F/script/middleLayer.ts
+4
-2
No files found.
assets/middleLayer_for_JJ_F/script/middleLayer.ts
View file @
78bcfbdb
import
{
middleLayerBase
}
from
"
./middleLayerBase
"
;
import
{
middleLayerBase
}
from
"
./middleLayerBase
"
;
import
{
initAir
}
from
'
./air
'
;
import
{
initAir
}
from
'
./air
'
;
// @ts-ignore
// @ts-ignore
import
StudyRecord
from
'
./studyRecord
'
;
const
StudyRecord
=
require
(
'
./studyRecord.js
'
)
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
@@ -568,7 +568,7 @@ export default class NewClass extends middleLayerBase {
...
@@ -568,7 +568,7 @@ export default class NewClass extends middleLayerBase {
studyRecord
:
StudyRecord
;
studyRecord
:
any
;
studyRecordModel
;
studyRecordModel
;
initStudyRecord
(
study_record
)
{
initStudyRecord
(
study_record
)
{
try
{
try
{
...
@@ -616,7 +616,9 @@ export default class NewClass extends middleLayerBase {
...
@@ -616,7 +616,9 @@ export default class NewClass extends middleLayerBase {
reportData
()
{
reportData
()
{
console
.
log
(
'
reportData 1
'
);
if
(
this
.
studyRecord
)
{
if
(
this
.
studyRecord
)
{
console
.
log
(
'
reportData 2
'
);
const
reportData
=
this
.
studyRecord
.
reportData
(
this
.
studyRecordModel
);
const
reportData
=
this
.
studyRecord
.
reportData
(
this
.
studyRecordModel
);
// 在这里处理网络请求
// 在这里处理网络请求
...
...
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