--fix bug

This commit is contained in:
yuping
2023-03-27 00:52:44 +08:00
parent bac1ab0e2a
commit 15e5dd0aea
2 changed files with 2 additions and 25 deletions

View File

@@ -2630,22 +2630,7 @@ export default {
item.courseId;
}
if (item.type == 2) {
// let date1 = new Date(item.endTime).getTime();
// let date2 = new Date().getTime();
// if (date1 < date2) return message.warning("当前面授课已结束");
// if (item.taskStatus == 1 || item.taskStatus == 2)
// return message.error("该任务无法学习,请联系管理员进行替换。");
// codeUrl =
// window.location.protocol +
// process.env.VUE_APP_H5 +
// "/faceteach?type=2&courseId=" +
// item.courseId +
// "&id=" +
// item.id; pathmappage?routerId=513&chapterId=730&isStudy=true
// codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/pathdetails?routerId=" + state.routerId;
codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/pathmappage?routerId=" + state.routerId + "&chapterId=" + item.chapterId + "&isStudy=true";
codeUrl = `${window.location.protocol + process.env.VUE_APP_H5}/FaceTeachCourseList?courseId=${item.courseId}&type=2&taskId=${item.id}`;
}
if (item.type == 3) return message.error("请在pc端完成");