Commit 62c7a97f authored by limingzhe's avatar limingzhe

fix: debug

parent 074b5c77
......@@ -56,7 +56,7 @@ export default class NewClass extends middleLayerBase {
cc.sys.localStorage.setItem('student_token', bundleInfo.token);
console.log("student_token 1: ", bundleInfo.token);
// await this.getUserInfo();
await this.getUserInfo();
// 打开特殊课件
if (this.course_id < 1) {
......@@ -212,7 +212,7 @@ export default class NewClass extends middleLayerBase {
if (res.code == '200') {
// cc.sys.localStorage.setItem('student_token', res.data.student_token);
cc.sys.localStorage.setItem('student_token', res.data.student_token);
// console.log("student_token 2: ", res.data.student_token);
global.userInfo = res.data;
......
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