mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-12 04:16:50 +08:00
init
This commit is contained in:
@@ -551,11 +551,11 @@ const types = ref({
|
|||||||
13: '去完成',
|
13: '去完成',
|
||||||
},
|
},
|
||||||
path: {
|
path: {
|
||||||
1: '',
|
1: import.meta.env.VITE_BOE_ONLINE_CLASS_URL,
|
||||||
2: '/faceteach',
|
2: '/faceteach',
|
||||||
3: '',
|
3: import.meta.env.VITE_BOE_CASS_DETAIL_URL,
|
||||||
4: '/homeworkpage',
|
4: '/homeworkpage',
|
||||||
5: '',
|
5: import.meta.env.VITE_BOE_TEST_DETAIL_URL,
|
||||||
6: '/livebroadcast',
|
6: '/livebroadcast',
|
||||||
7: '',
|
7: '',
|
||||||
8: '/discusspage',
|
8: '/discusspage',
|
||||||
@@ -572,9 +572,9 @@ function toFinish(d) {
|
|||||||
ElMessage.error('暂时未开放')
|
ElMessage.error('暂时未开放')
|
||||||
return
|
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;
|
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