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

@ -44,6 +44,10 @@ export type PostDto = Post & {
watchableStaffs: Staff[];
terms: TermDto[]
depts: DepartmentDto[]
meta?: {
thumbnail?: string
views?: number
}
};
export type LectureMeta = {