Commit 33fcc927 authored by limingzhe's avatar limingzhe

fix: 陪跑营 不调用userinfo

parent ac4ee371
......@@ -69,7 +69,9 @@ export default class NewClass extends middleLayerBase {
cc.sys.localStorage.setItem('student_token', bundleInfo.token);
console.log("student_token 1: ", bundleInfo.token);
await this.getUserInfo();
if (!this.isRunCamp) {
await this.getUserInfo();
}
// 打开特殊课件
if (this.course_id < 1) {
......@@ -446,7 +448,7 @@ export default class NewClass extends middleLayerBase {
onHomeworkFinishRunCamp(d1 = null, d2 = null) {
console.log('in onHomeworkFinish');
console.log('in onHomeworkFinishRunCamp');
let data = d1;
let callback = null;
if (typeof(d1) == 'function') {
......
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