delete no use
This commit is contained in:
parent
6da1c79b55
commit
1a71939a0a
@ -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({
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user