Commit 144ca130 authored by limingzhe's avatar limingzhe

fix: debug

parent 4aae02ec
......@@ -50,7 +50,10 @@ export default class NewClass extends cc.Component {
libraryRows;
async initView() {
const {code, rows} = await asyncCallNetworkApiGet(`/api/kyxq/v1/library`, {});
const resData = await asyncCallNetworkApiGet(`/api/kyxq/v1/library`, {});
const {code, rows} = resData;
console.log("resData: ", JSON.stringify(resData));
this.libraryRows = rows;
this.btnReading[`syllabus_id`] = rows[0].id;
this.btnListening[`syllabus_id`] = rows[1].id;
......
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