diff --git a/markdown/first.md b/markdown/first.md index 40b2f35..881f529 100644 --- a/markdown/first.md +++ b/markdown/first.md @@ -1,3 +1,3 @@ 记录一下建站的第一天,也许开心到爆炸. ![建站图片](https://upload-bbs.miyoushe.com/upload/2024/07/27/75276539/98580c852764d70e5a9597aa7678f131_2245446554692880272.jpg) -![建站图片](https://upload-bbs.miyoushe.com/upload/2024/03/20/285532152/757fa74f8b38fdfab0bd1b653a69af4d_6553329811603610700.gif) \ No newline at end of file +![建站图片](https://upload-bbs.miyoushe.com/upload/2024/03/20/285532152/757fa74f8b38fdfab0bd1b653a69af4d_6553329811603610700.gif) diff --git a/markdown/output.json b/markdown/output.json index c1ff416..c516d5c 100644 --- a/markdown/output.json +++ b/markdown/output.json @@ -1,9 +1,7 @@ { "postDataMap": { "first": { - "authors": [ - "zhw" - ], + "authors": ["zhw"], "title": "建站", "tag": "生活", "path": "first", @@ -23,9 +21,7 @@ }, "postDataList": [ { - "authors": [ - "zhw" - ], + "authors": ["zhw"], "title": "建站", "tag": "生活", "path": "first", @@ -43,4 +39,4 @@ "modified": true } ] -} \ No newline at end of file +} diff --git a/src/components/modules/shared/PrefetchLink.tsx b/src/components/modules/shared/PrefetchLink.tsx index 8e1dca8..8d377e9 100644 --- a/src/components/modules/shared/PrefetchLink.tsx +++ b/src/components/modules/shared/PrefetchLink.tsx @@ -8,7 +8,7 @@ const loadedImages = new Set(); interface PrefetchLinkProps extends React.ComponentProps { href: string; - preFetchImages: string[]; + preFetchImages?: string[]; } export const PrefetchLink: React.FC = ({