fix: hydrated error of built time ago

This commit is contained in:
三咲智子 2023-01-03 19:15:15 +08:00
parent 7ef26330fb
commit f0ed98c6ad
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -44,7 +44,7 @@ function toggleDark() {
</div>
<div>{{ $t('app_desc_short') }}</div>
<div>
<i18n-t keypath="nav.built_at">
<i18n-t v-if="isHydrated" keypath="nav.built_at">
<time :datetime="String(buildTimeDate)" :title="$d(buildTimeDate, 'long')">{{ buildTimeAgo }}</time>
</i18n-t>
<template v-if="buildInfo.version">