mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-11 03:46:47 +08:00
提交
This commit is contained in:
@@ -10,6 +10,7 @@ export const PROJECT = 1;
|
||||
export const ROUTER = 2;
|
||||
export const COURSE = 3;
|
||||
export const GROWTH = 4
|
||||
|
||||
export const TASK_TYPES = {
|
||||
typeName: {
|
||||
1: "在线",
|
||||
@@ -41,6 +42,7 @@ export const TASK_TYPES = {
|
||||
12: "去投票",
|
||||
13: "去完成",
|
||||
},
|
||||
|
||||
path: {
|
||||
1: ({ courseId }) => window.open(window.location.protocol + import.meta.env.VITE_BOE_ONLINE_CLASS_URL + courseId), //在线
|
||||
2: ({ targetId }) => window.open(`${location.protocol}//${location.host}${import.meta.env.VITE_BASE_API}/stu/project/redirectDetail?courseId=${targetId}`, '_top'),
|
||||
@@ -56,4 +58,6 @@ export const TASK_TYPES = {
|
||||
12: "/ballotpage",
|
||||
13: "/projectdetails",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user