Commit f23e7521 authored by limingzhe's avatar limingzhe

fix: student token

parent 4fa48af1
...@@ -52,6 +52,9 @@ export default class NewClass extends middleLayerBase { ...@@ -52,6 +52,9 @@ export default class NewClass extends middleLayerBase {
this.course_id = bundleInfo.course_id; this.course_id = bundleInfo.course_id;
this.courseware_id = bundleInfo.courseware_id; this.courseware_id = bundleInfo.courseware_id;
cc.sys.localStorage.setItem('student_token', bundleInfo.token);
// 打开特殊课件 // 打开特殊课件
if (this.course_id < 1) { if (this.course_id < 1) {
this.openCustomTemplate(); this.openCustomTemplate();
......
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