delete no use
This commit is contained in:
parent
6da1c79b55
commit
1a71939a0a
@ -17,31 +17,31 @@ const routes = [
|
|||||||
// next()
|
// next()
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
path: '/companyprofil',
|
// path: '/companyprofil',
|
||||||
name: 'Companyprofil',
|
// name: 'Companyprofil',
|
||||||
component: () => import('@/views/companyprofil/index.vue'),
|
// component: () => import('@/views/companyprofil/index.vue'),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
path: '/companyprofildetail',
|
// path: '/companyprofildetail',
|
||||||
name: 'Companyprofildetail',
|
// name: 'Companyprofildetail',
|
||||||
component: () => import('@/views/companyprofildetail/index.vue'),
|
// component: () => import('@/views/companyprofildetail/index.vue'),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
path: '/businessintroduction',
|
// path: '/businessintroduction',
|
||||||
name: 'Businessintroduction',
|
// name: 'Businessintroduction',
|
||||||
component: () => import('@/views/businessintroduction/index.vue'),
|
// component: () => import('@/views/businessintroduction/index.vue'),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
path: '/investor',
|
// path: '/investor',
|
||||||
name: 'Investor',
|
// name: 'Investor',
|
||||||
component: () => import('@/views/investor/index.vue'),
|
// component: () => import('@/views/investor/index.vue'),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
path: '/investorhandbook',
|
// path: '/investorhandbook',
|
||||||
name: 'Investorhandbook',
|
// name: 'Investorhandbook',
|
||||||
component: () => import('@/views/investorhandbook/index.vue'),
|
// component: () => import('@/views/investorhandbook/index.vue'),
|
||||||
},
|
// },
|
||||||
];
|
];
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
|
@ -70,7 +70,7 @@ export function useLanguage() {
|
|||||||
|
|
||||||
// 初始化语言
|
// 初始化语言
|
||||||
const initLanguage = () => {
|
const initLanguage = () => {
|
||||||
const savedLanguage = localStorage.getItem('language') || getBrowserLanguage();
|
const savedLanguage = 'en'||localStorage.getItem('language') || getBrowserLanguage();
|
||||||
locale.value = savedLanguage;
|
locale.value = savedLanguage;
|
||||||
currentLanguage.value = savedLanguage;
|
currentLanguage.value = savedLanguage;
|
||||||
localStorage.setItem('language', savedLanguage);
|
localStorage.setItem('language', savedLanguage);
|
||||||
|
Loading…
Reference in New Issue
Block a user