fix:项目/路径图任务大纲面授课扫码-跳转项目或者路径图详情修改

This commit is contained in:
wyx
2023-03-22 16:01:32 +08:00
parent 705ac43a93
commit ab215223c7
3 changed files with 20 additions and 15 deletions

View File

@@ -2666,13 +2666,16 @@ export default {
// 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;
// codeUrl =
// window.location.protocol +
// process.env.VUE_APP_H5 +
// "/faceteach?type=2&courseId=" +
// item.courseId +
// "&id=" +
// item.id;
codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/pathdetails?routerId=" + state.routerId;
}
if (item.type == 3) return message.error("请在pc端完成");