Skip to content

Commit 1356b4b

Browse files
committed
refactor: 移除BlogPost组件中的console.log语句
移除不必要的console.log语句以保持代码整洁
1 parent 148755a commit 1356b4b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

blog-web/src/components/solid/BlogPost.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ interface BlogPostProps {
5959
export default function BlogPost(props: BlogPostProps) {
6060
// 使用SolidJS的资源加载功能获取文章
6161
const [post] = createResource<Post | null>(() => fetchPost(props.slug));
62-
console.log(post());
6362

6463
return (
6564
<div class="container mx-auto px-4 py-8">

0 commit comments

Comments
 (0)