This commit is contained in:
longdayi 2025-02-27 08:00:11 +08:00
parent 313f545e08
commit 4c13d70a28
2 changed files with 7 additions and 3 deletions

View File

@ -18,7 +18,7 @@ export function CoursesContainer() {
return (
<>
<PostList
renderItem={(post) => <CourseCard course={post}></CourseCard>}
renderItem={(post) => <CourseCard course={post} edit={false}></CourseCard>}
params={{
pageSize: 12,
where: {

View File

@ -42,8 +42,12 @@ export type PostDto = Post & {
};
watchableDepts: Department[];
watchableStaffs: Staff[];
terms:TermDto[]
depts:DepartmentDto[]
terms: TermDto[]
depts: DepartmentDto[]
meta?: {
thumbnail?: string
views?: number
}
};
export type LectureMeta = {