feat: footer support html (#567)

This commit is contained in:
Dream Hunter
2025-01-21 10:24:13 +08:00
committed by GitHub
parent 3f81fbee6d
commit 37614ce6fa
+8 -3
View File
@@ -21,9 +21,14 @@ const { t } = useI18n({
<div> <div>
<n-divider class="footer-divider" /> <n-divider class="footer-divider" />
<div style="text-align: center; padding: 20px"> <div style="text-align: center; padding: 20px">
<n-text depth="3"> <n-space justify="center">
{{ t('copyright') }} © 2023-{{ new Date().getFullYear() }} {{ openSettings.copyright }} <n-text depth="3">
</n-text> {{ t('copyright') }} © 2023-{{ new Date().getFullYear() }}
</n-text>
<n-text depth="3">
<div v-html="openSettings.copyright"></div>
</n-text>
</n-space>
</div> </div>
</div> </div>
</template> </template>