feat: add titles for settings

This commit is contained in:
三咲智子 2023-01-04 21:57:12 +08:00
parent 9a167ee990
commit 377c015c91
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
11 changed files with 66 additions and 7 deletions

View file

@ -1,6 +1,12 @@
<script setup lang="ts">
import { buildInfo } from 'virtual:build-info'
const { t } = useI18n()
useHeadFixed({
title: () => `${t('settings.about.label')} | ${t('nav.settings')}`,
})
let showCommit = $ref(buildInfo.env !== 'release' && buildInfo.env !== 'dev')
const builtTime = useFormattedDateTime(buildInfo.time)