提交 c6b8d2b9 authored 作者: matian's avatar matian

updates

上级 d7ed0514
......@@ -12,13 +12,7 @@ const page = reactive({ size: 10, currentPage: 1 })
// 筛选之后的数据
const courseFilterList = $computed(() => {
if (props.type === 'PAAP(Ⅰ)' || props.type === '') {
return props.courseList.filter(
(item: any) => (item.category === props.type || props.type === '') && item.is_test === false
)
} else {
return props.courseList.filter((item: any) => item.category === props.type)
}
return props.courseList.filter((item: any) => (item.category === props.type || props.type === '') && !item.is_test)
})
// 当前页的数据
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论