perf(theme): improve CommentService

This commit is contained in:
pengzhanbo 2024-11-08 23:42:34 +08:00
parent bf35ec11d3
commit 1f003a42c4

View File

@ -136,7 +136,9 @@ watch(
<slot name="doc-footer-before" />
</template>
</VPDocFooter>
<CommentService v-if="hasComments" :darkmode="isDark" vp-comment />
<template v-if="hasComments">
<CommentService :darkmode="isDark" vp-comment />
</template>
<slot name="doc-after" />
</div>
</div>