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