diff --git a/src/App.vue b/src/App.vue index cb5bc53..686aa3d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,6 +19,7 @@ import zhCN from 'ant-design-vue/es/locale/zh_CN'; export default defineComponent({ setup(){ + console.log(i18ninit) provideI18n(i18ninit); if(getValue('token')){ store.commit("login", true) diff --git a/src/components/NavTop.vue b/src/components/NavTop.vue index c3df605..f8780ac 100644 --- a/src/components/NavTop.vue +++ b/src/components/NavTop.vue @@ -21,9 +21,10 @@