mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改语言挂载问题
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import I18n from './index.vue';
|
||||
|
||||
export { I18n };
|
||||
@@ -0,0 +1,7 @@
|
||||
<template></template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
const { t } = useI18n()
|
||||
window['$t'] = t
|
||||
</script>
|
||||
Reference in New Issue
Block a user