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

bug fixes

上级 a789c36c
......@@ -10,7 +10,7 @@ const props = defineProps({
})
const courseListAll = computed<any>(() => {
if (props.type) {
props.courseList?.filter((item: any) => item.category === props.type)
return props.courseList?.filter((item: any) => item.category === props.type)
} else {
return props.courseList
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论