Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TXZS_G_002
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
TXZS_G_002
Commits
33aa2285
Commit
33aa2285
authored
Feb 21, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复rows获取错误
parent
557f923c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TXZS_G_002.ts
assets/TXZS_G_002/scene/TXZS_G_002.ts
+2
-2
No files found.
assets/TXZS_G_002/scene/TXZS_G_002.ts
View file @
33aa2285
...
@@ -89,7 +89,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -89,7 +89,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
//
//
// this.scheduleOnce(()=>{
// this.scheduleOnce(()=>{
// 把听写助手传来的数据 转换为游戏需要的数据
// 把听写助手传来的数据 转换为游戏需要的数据
this
.
data
=
this
.
translateData
(
this
.
data
);
this
.
data
=
this
.
translateData
(
this
.
data
.
rows
);
this
.
asyncPlayAudioByUrl
(
this
.
data
.
questionTextAudio
)
this
.
asyncPlayAudioByUrl
(
this
.
data
.
questionTextAudio
)
// },1)
// },1)
cc
.
find
(
"
Canvas/uiP/bg_tip
"
).
active
=
true
;
cc
.
find
(
"
Canvas/uiP/bg_tip
"
).
active
=
true
;
...
@@ -117,7 +117,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -117,7 +117,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
newList
.
push
(
list
.
slice
(
i
,
i
+
chunk
))
newList
.
push
(
list
.
slice
(
i
,
i
+
chunk
))
}
}
}
}
console
.
log
(
newList
)
return
newList
return
newList
}
}
...
...
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