fix: 错删字段导致的bug
This commit is contained in:
@@ -59,8 +59,8 @@ const {data} = await http.get<ApiResponse<Archive>>("post/archive");
|
|||||||
}
|
}
|
||||||
|
|
||||||
.archive {
|
.archive {
|
||||||
display: flex;
|
max-width: 860px;
|
||||||
flex-direction: column;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-year {
|
.archive-year {
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ type ArchivePost = {
|
|||||||
slug: string;
|
slug: string;
|
||||||
title: string;
|
title: string;
|
||||||
published_at: string;
|
published_at: string;
|
||||||
|
published_at_display: string;
|
||||||
category_name: string;
|
category_name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
type ArchiveMonth = {
|
type ArchiveMonth = {
|
||||||
month: number;
|
month: number;
|
||||||
display_month: string;
|
|
||||||
list: ArchivePost[];
|
list: ArchivePost[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user