Commit 1c986629 authored by 李帅's avatar 李帅

+1

parent 225ebf93
/*
* @Author: ls
* @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-06-08 23:00:12
* @LastEditTime: 2022-06-09 08:46:16
* @LastEditors: ls
* @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts
......@@ -239,7 +239,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
let it = this.content.children[idx].getComponent(Item);
it.recorded();
let arr = JSON.parse(res).result.sentences[0].details;
let arr = [];
for (let index = 0; index < JSON.parse(res).result.sentences.length; index++) {
let e = JSON.parse(res).result.sentences[index];
arr = arr.concat(e.details);
}
let arrOne = [];
for (let index = 0; index < arr.length; index++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment