Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy17_hds
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
hy17_hds
Commits
1417bb19
Commit
1417bb19
authored
Sep 07, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改存储数据方式
parent
71b0cb89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
hy17_hds.ts
assets/hy17_hds/scene/hy17_hds.ts
+1
-2
pg_hy17_hds.ts
assets/hy17_hds/scene/pg_hy17_hds.ts
+2
-2
No files found.
assets/hy17_hds/scene/hy17_hds.ts
View file @
1417bb19
...
...
@@ -232,8 +232,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
log
(
"
-----------------------startTestConvert
"
)
cc
.
audioEngine
.
stopAllEffects
();
courseware
&&
courseware
.
startTestConvert
(
this
.
letter
);
//开始录音
// (<any>window).courseware.startTestConvert('My name is Lucy');
// (<any>window).courseware.stopTestConvert(res => {
// // 录音评测返回结果, 与stopTest方法返回结果一致
...
...
@@ -268,6 +266,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
"
applicationId
"
:
"
154838659000009e
"
}
if
(
!
courseware
)
{
this
.
recordAudio
=
testData
.
audioUrl
;
return
this
.
recrodEnd
(
testData
)
}
this
.
log
(
"
---------------courseware.stopTestConvert:
"
)
...
...
assets/hy17_hds/scene/pg_hy17_hds.ts
View file @
1417bb19
...
...
@@ -679,10 +679,10 @@ let pg = {
},
records
:
[],
addRecord
(
data
)
{
this
.
records
.
push
(
data
)
pg
.
hw
.
records
.
push
(
data
)
},
getRecord
()
{
return
this
.
records
.
concat
();
return
pg
.
hw
.
records
.
concat
();
}
},
signal
:
{
...
...
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