mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
fix: fix marked status
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user