Commit 78bcfbdb authored by limingzhe's avatar limingzhe

fix: debug

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