mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-06 17:36:46 +08:00
init
This commit is contained in:
1
.env
Normal file
1
.env
Normal file
@@ -0,0 +1 @@
|
|||||||
|
VITE_BOE_ONLINE_CLASS_URL=https://u-pre.boe.com/pc/course/studyindex?id=
|
||||||
1
.env.boe
Normal file
1
.env.boe
Normal file
@@ -0,0 +1 @@
|
|||||||
|
VITE_BOE_ONLINE_CLASS_URL=https://u-pre.boe.com/pc/course/studyindex?id=
|
||||||
1
.env.prod
Normal file
1
.env.prod
Normal file
@@ -0,0 +1 @@
|
|||||||
|
VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc/course/studyindex?id=
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,7 +4,7 @@ node_modules
|
|||||||
|
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env.local
|
.env.test
|
||||||
.env.*.local
|
.env.*.local
|
||||||
|
|
||||||
# Log files
|
# Log files
|
||||||
|
|||||||
@@ -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}})
|
||||||
|
|||||||
Reference in New Issue
Block a user