mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
Revert "Merge pull request #424 from Wangnov/feat/i18n"
This reverts commit1d915d8327, reversing changes made to009f7c84f6.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { createApp } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import ElementPlus from 'element-plus'
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
import 'element-plus/dist/index.css'
|
||||
import 'element-plus/theme-chalk/dark/css-vars.css'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import { useUserStore } from './stores/user'
|
||||
import i18n from './i18n'
|
||||
import './assets/styles/main.css'
|
||||
import './assets/styles/global.css'
|
||||
|
||||
@@ -20,11 +20,10 @@ app.use(pinia)
|
||||
// 使用路由
|
||||
app.use(router)
|
||||
|
||||
// 使用Vue I18n
|
||||
app.use(i18n)
|
||||
|
||||
// 使用Element Plus - 语言配置在 App.vue 中通过 ElConfigProvider 处理
|
||||
app.use(ElementPlus)
|
||||
// 使用Element Plus
|
||||
app.use(ElementPlus, {
|
||||
locale: zhCn
|
||||
})
|
||||
|
||||
// 设置axios拦截器
|
||||
const userStore = useUserStore()
|
||||
|
||||
Reference in New Issue
Block a user