fix: 修改语言挂载问题

This commit is contained in:
mtruning
2022-01-09 19:22:55 +08:00
parent 7332dd1e98
commit 39ab04e051
16 changed files with 96 additions and 99 deletions
+3
View File
@@ -0,0 +1,3 @@
import I18n from './index.vue';
export { I18n };
+7
View File
@@ -0,0 +1,7 @@
<template></template>
<script lang="ts" setup>
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
window['$t'] = t
</script>