提交 3e7a6461 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 e93cff37
......@@ -54,8 +54,10 @@ const appConfigList = [
{ name: '我的大赛', path: '/student/contest' },
{ name: '大赛成绩查询', path: '/student/contest/score' }
],
xLabel: '商务数据分析理论考试',
labLabel: '商务数据分析实操考试'
xTrainLabel: '商务数据分析理论训练',
labTrainLabel: '商务数据分析实操训练',
xExamLabel: '商务数据分析理论考试',
labExamLabel: '商务数据分析实操考试'
}
]
......@@ -64,7 +66,7 @@ export function useAppConfig() {
return item.hosts.find(host => location.host.includes(host))
})
const appConfig = found || appConfigList[4]
const appConfig = found || appConfigList[0]
return { ...appConfig }
}
......@@ -58,13 +58,13 @@ const form = reactive({
date: undefined,
datetimeRange: undefined,
train_platform_configs: [
{ name: appConfig.xLabel || '1+X理论考试', is_show: '1', type: '1', url: '', platform_key: 'x_exam' },
{ name: appConfig.labLabel || '商业数据分析实验', is_show: '0', type: '2', url: '', platform_key: 'career_data_analysis' },
{ name: appConfig.xTrainLabel || '1+X理论考试', is_show: '1', type: '1', url: '', platform_key: 'x_exam' },
{ name: appConfig.labTrainLabel || '商业数据分析实验', is_show: '0', type: '2', url: '', platform_key: 'career_data_analysis' },
{ name: '数据营销实操', is_show: '0', type: '2', url: '', platform_key: 'data_marketing' }
],
competition_platform_configs: [
{ name: appConfig.xLabel || '1+X理论考试', is_show: '1', type: '1', url: '', platform_key: 'x_exam' },
{ name: appConfig.labLabel || '商业数据分析实验', is_show: '0', type: '2', url: '', platform_key: 'career_data_analysis' },
{ name: appConfig.xExamLabel || '1+X理论考试', is_show: '1', type: '1', url: '', platform_key: 'x_exam' },
{ name: appConfig.labExamLabel || '商业数据分析实验', is_show: '0', type: '2', url: '', platform_key: 'career_data_analysis' },
{ name: '数据营销实操', is_show: '0', type: '2', url: '', platform_key: 'data_marketing' }
]
})
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论