From eb709a8eafbddf4b7768c86ba975ec49c8ba6425 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Thu, 19 Dec 2024 17:51:00 +0800 Subject: [PATCH] chore: update default content --- src/stores/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/index.ts b/src/stores/index.ts index c4fb0e5..792df11 100644 --- a/src/stores/index.ts +++ b/src/stores/index.ts @@ -63,7 +63,7 @@ export const useStore = defineStore(`store`, () => { const addPost = (title: string) => { currentPostIndex.value = posts.value.push({ title, - content: DEFAULT_CONTENT, + content: `# ${title}`, }) - 1 }