fix: fix marked status

This commit is contained in:
purocean
2022-01-12 14:17:39 +08:00
parent d1acb693fb
commit a3a524cb74
@@ -21,6 +21,8 @@ export default {
vueCtx.localMarked.value = true
await ctx.doc.markDoc(node)
}
node.marked = vueCtx.localMarked.value
}
const isMarkdown = node.type === 'file' && node.path.toLowerCase().endsWith('.md')