mirror of
https://github.com/doocs/md.git
synced 2025-02-02 19:27:46 +08:00
chore: update default content
This commit is contained in:
parent
8cc1f48140
commit
eb709a8eaf
@ -63,7 +63,7 @@ export const useStore = defineStore(`store`, () => {
|
|||||||
const addPost = (title: string) => {
|
const addPost = (title: string) => {
|
||||||
currentPostIndex.value = posts.value.push({
|
currentPostIndex.value = posts.value.push({
|
||||||
title,
|
title,
|
||||||
content: DEFAULT_CONTENT,
|
content: `# ${title}`,
|
||||||
}) - 1
|
}) - 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user