| | |
| | | import { storeToRefs } from 'pinia'; |
| | | import { createI18n } from 'vue-i18n'; |
| | | import pinia from '/@/stores/index'; |
| | | import { storeToRefs } from 'pinia'; |
| | | import { useThemeConfig } from '/@/stores/themeConfig'; |
| | | |
| | | // 定义语言国际化内容 |
| | |
| | | */ |
| | | |
| | | // element plus 自带国际化 |
| | | import enLocale from 'element-plus/lib/locale/lang/en'; |
| | | import zhcnLocale from 'element-plus/lib/locale/lang/zh-cn'; |
| | | import zhtwLocale from 'element-plus/lib/locale/lang/zh-tw'; |
| | | import enLocale from 'element-plus/es/locale/lang/en'; |
| | | import zhcnLocale from 'element-plus/es/locale/lang/zh-cn'; |
| | | import zhtwLocale from 'element-plus/es/locale/lang/zh-tw'; |
| | | |
| | | // 定义变量内容 |
| | | const messages = {}; |