feat: 升级vue3版本和router版本,主框架调整,页面样式统一

This commit is contained in:
rd
2025-08-16 17:01:06 +08:00
parent f14a525828
commit b4bca57f04
47 changed files with 503 additions and 586 deletions

View File

@ -26,7 +26,7 @@ export const router = createRouter({
{
path: '/',
name: 'Home',
component: () => import('@/views/components/workplace/index.vue'),
component: () => import('@/views/home/index.vue'),
meta: {
hideSidebar: true,
requiresAuth: false,

View File

@ -15,7 +15,8 @@ declare module 'vue-router' {
ignoreCache?: boolean; // if set true, the page will not be cached
hideSidebar?: boolean;
hideFooter?: boolean;
isAgentRoute?:boolean;
isAgentRoute?: boolean;
requireLogin?: boolean; // 是否需要登陆才能访问
independent?: boolean; // 独立于layout的路由
}
}