delete no use

This commit is contained in:
张 元山 2025-05-22 17:06:18 +08:00
parent 6da1c79b55
commit 1a71939a0a
2 changed files with 26 additions and 26 deletions

View File

@ -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({

View File

@ -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);