Commit 063796ca authored by liujiangnan's avatar liujiangnan

feat: 游客模式兼容

parent c294a621
......@@ -506,6 +506,10 @@ export default class NewClass extends middleLayerBase {
}
isLevelActived() {
if (this.isLogin == false) {
// 游客
return false;
}
// 最上层判断Level是否被购买激活过
const currentLevelId = this.data["syllabus_path"].level_id;
const activeLevelIds = this.activeLevels.map(item => item.syllabus_id);
......
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