mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-08 02:16:47 +08:00
init
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
VITE_BASE=/fe-student
|
VITE_BASE=/fe-student-release
|
||||||
VITE_BASE_API=/manageApi
|
VITE_BASE_API=/manageApi-release
|
||||||
VITE_PROXY_URL=
|
|
||||||
|
|
||||||
|
|
||||||
VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc-release/course/studyindex?id=
|
VITE_BOE_ONLINE_CLASS_URL=https://u.boe.com/pc-release/course/studyindex?id=
|
||||||
|
|||||||
@@ -572,9 +572,10 @@ function toFinish(d) {
|
|||||||
ElMessage.error('暂时未开放')
|
ElMessage.error('暂时未开放')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (types.value.path[d.type] && types.value.path[d.type].startWith('http')) {
|
if (types.value.path[d.type] && types.value.path[d.type].startsWith('http')) {
|
||||||
//配置文件
|
//配置文件
|
||||||
import.meta.env.DEV ? window.location.href : window.parent.location.href = types.value.path[d.type]
|
const url = types.value.path[d.type] + (d.type === 1 ? d.targetId : d.courseId)
|
||||||
|
import.meta.env.DEV ? (window.location.href = url) : (window.parent.location.href = 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