Commit 78bcfbdb authored by limingzhe's avatar limingzhe

fix: debug

parent 789c3df5
import { middleLayerBase } from "./middleLayerBase"; import { middleLayerBase } from "./middleLayerBase";
import { initAir } from './air'; import { initAir } from './air';
// @ts-ignore // @ts-ignore
import StudyRecord from './studyRecord'; const StudyRecord = require('./studyRecord.js');
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
...@@ -568,7 +568,7 @@ export default class NewClass extends middleLayerBase { ...@@ -568,7 +568,7 @@ export default class NewClass extends middleLayerBase {
studyRecord: StudyRecord; studyRecord: any;
studyRecordModel; studyRecordModel;
initStudyRecord(study_record) { initStudyRecord(study_record) {
try { try {
...@@ -616,7 +616,9 @@ export default class NewClass extends middleLayerBase { ...@@ -616,7 +616,9 @@ export default class NewClass extends middleLayerBase {
reportData() { reportData() {
console.log('reportData 1');
if (this.studyRecord) { if (this.studyRecord) {
console.log('reportData 2');
const reportData = this.studyRecord.reportData(this.studyRecordModel); const reportData = this.studyRecord.reportData(this.studyRecordModel);
// 在这里处理网络请求 // 在这里处理网络请求
......
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