--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

@@ -4612,15 +4612,7 @@ export default {
item.courseId;
}
if (item.type == 2) {
// codeUrl =
// window.location.protocol +
// process.env.VUE_APP_H5 +
// "/faceteach?type=1&courseId=" +
// item.courseId +
// "&id=" +
// item.id;
codeUrl = window.location.protocol + process.env.VUE_APP_H5 + "/projectdetails?type=1&projectId=" + state.projectId;
codeUrl = `${window.location.protocol + process.env.VUE_APP_H5}/FaceTeachCourseList?courseId=${item.courseId}&type=1&taskId=${item.id}`;
}
if (item.type == 3) return message.error("请在pc端完成");
if (item.type == 4) {