mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 00:42:12 +08:00
feat: support vscode i18n-ally plugin
This commit is contained in:
@@ -13,16 +13,16 @@ import { useI18n } from '/@/hooks/web/useI18n';
|
||||
export default defineComponent({
|
||||
name: 'LayoutContent',
|
||||
setup() {
|
||||
const { t } = useI18n('layout.footer');
|
||||
const { t } = useI18n();
|
||||
return () => {
|
||||
return (
|
||||
<Layout.Footer class="layout-footer">
|
||||
{() => (
|
||||
<>
|
||||
<div class="layout-footer__links">
|
||||
<a onClick={() => openWindow(SITE_URL)}>{t('onlinePreview')}</a>
|
||||
<a onClick={() => openWindow(SITE_URL)}>{t('layout.footer.onlinePreview')}</a>
|
||||
<GithubFilled onClick={() => openWindow(GITHUB_URL)} class="github" />
|
||||
<a onClick={() => openWindow(DOC_URL)}>{t('onlineDocument')}</a>
|
||||
<a onClick={() => openWindow(DOC_URL)}>{t('layout.footer.onlineDocument')}</a>
|
||||
</div>
|
||||
<div>Copyright ©2020 Vben Admin</div>
|
||||
</>
|
||||
|
Reference in New Issue
Block a user