This commit is contained in:
yuping
2022-12-14 19:17:46 +08:00
parent ac263c77e2
commit ffafa08e32
5 changed files with 5 additions and 2 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
VITE_BOE_ONLINE_CLASS_URL=https://u-pre.boe.com/pc/course/studyindex?id=

1
.env.boe Normal file
View File

@@ -0,0 +1 @@
VITE_BOE_ONLINE_CLASS_URL=https://u-pre.boe.com/pc/course/studyindex?id=

1
.env.prod Normal file
View File

@@ -0,0 +1 @@
VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc/course/studyindex?id=

2
.gitignore vendored
View File

@@ -4,7 +4,7 @@ node_modules
# local env files # local env files
.env.local .env.test
.env.*.local .env.*.local
# Log files # Log files

View File

@@ -574,7 +574,7 @@ function toFinish(d) {
} }
if (d.type === 1) { if (d.type === 1) {
//配置文件 //配置文件
window.parent.location.href = `https://u-pre.boe.com/pc/course/studyindex?id=${d.targetId}` window.parent.location.href = import.meta.env.VITE_BOE_ONLINE_CLASS_URL
return; return;
} }
router.push({path: types.value.path[d.type], query: {id: d.routerTaskId, type: 1, courseId: d.courseId}}) router.push({path: types.value.path[d.type], query: {id: d.routerTaskId, type: 1, courseId: d.courseId}})