mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 02:46:48 +08:00
init
This commit is contained in:
@@ -551,11 +551,11 @@ const types = ref({
|
||||
13: '去完成',
|
||||
},
|
||||
path: {
|
||||
1: '',
|
||||
1: import.meta.env.VITE_BOE_ONLINE_CLASS_URL,
|
||||
2: '/faceteach',
|
||||
3: '',
|
||||
3: import.meta.env.VITE_BOE_CASS_DETAIL_URL,
|
||||
4: '/homeworkpage',
|
||||
5: '',
|
||||
5: import.meta.env.VITE_BOE_TEST_DETAIL_URL,
|
||||
6: '/livebroadcast',
|
||||
7: '',
|
||||
8: '/discusspage',
|
||||
@@ -572,9 +572,9 @@ function toFinish(d) {
|
||||
ElMessage.error('暂时未开放')
|
||||
return
|
||||
}
|
||||
if (d.type === 1) {
|
||||
if (types.value.path[d.type] && types.value.path[d.type].startWith('http')) {
|
||||
//配置文件
|
||||
window.parent.location.href = import.meta.env.VITE_BOE_ONLINE_CLASS_URL
|
||||
window.parent.location.href = types.value.path[d.type]
|
||||
return;
|
||||
}
|
||||
router.push({path: types.value.path[d.type], query: {id: d.routerTaskId, type: 1, courseId: d.courseId}})
|
||||
|
||||
Reference in New Issue
Block a user