diff --git a/src/router/index.js b/src/router/index.js index 834d041..8cb90a9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -17,31 +17,31 @@ const routes = [ // next() // } }, - { - path: '/companyprofil', - name: 'Companyprofil', - component: () => import('@/views/companyprofil/index.vue'), - }, - { - path: '/companyprofildetail', - name: 'Companyprofildetail', - component: () => import('@/views/companyprofildetail/index.vue'), - }, - { - path: '/businessintroduction', - name: 'Businessintroduction', - component: () => import('@/views/businessintroduction/index.vue'), - }, - { - path: '/investor', - name: 'Investor', - component: () => import('@/views/investor/index.vue'), - }, - { - path: '/investorhandbook', - name: 'Investorhandbook', - component: () => import('@/views/investorhandbook/index.vue'), - }, + // { + // path: '/companyprofil', + // name: 'Companyprofil', + // component: () => import('@/views/companyprofil/index.vue'), + // }, + // { + // path: '/companyprofildetail', + // name: 'Companyprofildetail', + // component: () => import('@/views/companyprofildetail/index.vue'), + // }, + // { + // path: '/businessintroduction', + // name: 'Businessintroduction', + // component: () => import('@/views/businessintroduction/index.vue'), + // }, + // { + // path: '/investor', + // name: 'Investor', + // component: () => import('@/views/investor/index.vue'), + // }, + // { + // path: '/investorhandbook', + // name: 'Investorhandbook', + // component: () => import('@/views/investorhandbook/index.vue'), + // }, ]; const router = createRouter({ diff --git a/src/utils/changeLanguage.js b/src/utils/changeLanguage.js index c6ae03a..0048b41 100644 --- a/src/utils/changeLanguage.js +++ b/src/utils/changeLanguage.js @@ -70,7 +70,7 @@ export function useLanguage() { // 初始化语言 const initLanguage = () => { - const savedLanguage = localStorage.getItem('language') || getBrowserLanguage(); + const savedLanguage = 'en'||localStorage.getItem('language') || getBrowserLanguage(); locale.value = savedLanguage; currentLanguage.value = savedLanguage; localStorage.setItem('language', savedLanguage);