Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dribble-njr committed Jan 8, 2025
1 parent eb8f004 commit 0a691c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/CodemirrorEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ onMounted(() => {
<CssEditor class="flex-1" />
</div>
<footer class="flex flex-1 justify-end pr-5 text-[12px]">
字数 {{ readingTime?.words }}, 阅读大约需 {{ Math.ceil(readingTime?.minutes) }} 分钟
字数 {{ readingTime?.words }}, 阅读大约需 {{ Math.ceil(readingTime?.minutes ?? 0) }} 分钟
</footer>

<UploadImgDialog @upload-image="uploadImage" />
Expand Down

0 comments on commit 0a691c3

Please sign in to comment.