mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-07 01:46:46 +08:00
面授不展示
This commit is contained in:
2
.env
2
.env
@@ -12,4 +12,4 @@ VITE_BOE_EXAM_DETAIL_URL=https://u-pre.boe.com/pc/exam/test?id=
|
||||
|
||||
VITE_BOE_API_URL=https://u-pre.boe.com
|
||||
|
||||
VITE_TASK_WHITE_TYPE= -8-,-12-
|
||||
VITE_TASK_WHITE_TYPE=-8-,-12-
|
||||
@@ -30,11 +30,11 @@
|
||||
</div>
|
||||
<div
|
||||
class="course"
|
||||
v-for="(value, index) in i.taskProcessList"
|
||||
v-for="(value, index) in i.taskProcessList.filter(e =>!whiteTypes(e.type))"
|
||||
:key="index"
|
||||
>
|
||||
<div>
|
||||
<div class="coursename">{{index}}{{ value.name }} </div>
|
||||
<div class="coursename">{{ value.name }} </div>
|
||||
<div class="coursetag">
|
||||
<div
|
||||
class="tag1"
|
||||
@@ -438,7 +438,7 @@ function toFinish(d, sName) {
|
||||
}
|
||||
|
||||
function whiteTypes(type) {
|
||||
console.log('-'+ type + '-',import.meta.env.VITE_TASK_WHITE_TYPE.includes('-'+ type + '-'));
|
||||
|
||||
return import.meta.env.VITE_TASK_WHITE_TYPE.includes('-'+ type + '-')
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user