Commit b959d579 authored by liujiangnan's avatar liujiangnan

feat

parent 03ad8bbf
...@@ -64,7 +64,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -64,7 +64,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const classDataStr = await asyncCallNetworkApiGet('/api/syllabus/v1/tree', { const classDataStr = await asyncCallNetworkApiGet('/api/syllabus/v1/tree', {
pid: pid, deep: 2 pid: pid, deep: 2
}); });
const ballData = JSON.parse(classDataStr); const ballData = JSON.parse(classDataStr).rows;
ballData.forEach((data, idx) => { ballData.forEach((data, idx) => {
if (idx >= 5) { if (idx >= 5) {
......
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