Explorar o código

屏蔽仪表盘

Cen_J hai 1 mes
pai
achega
ecf836a498

+ 1 - 1
src/router/router-guards.ts

@@ -11,7 +11,7 @@ import { transformI18n } from '@/hooks/useI18n';
 
 NProgress.configure({ showSpinner: false }); // NProgress Configuration
 
-const defaultRoutePath = '/dashboard/welcome';
+const defaultRoutePath = '/customerList';
 
 export function createRouterGuards(router: Router, whiteNameList: WhiteNameList) {
   router.beforeEach(async (to, from, next) => {

+ 1 - 1
src/router/routes/index.ts

@@ -5,7 +5,7 @@ import type { RouteRecordRaw } from 'vue-router';
 export const rootRoute: RouteRecordRaw = {
   path: '/',
   name: 'Layout',
-  redirect: '/dashboard/welcome',
+  redirect: '/customerList',
   component: () => import('@/layout/index.vue'),
   meta: {
     title: '根路由',

+ 2 - 2
src/router/routes/modules/index.ts

@@ -1,7 +1,7 @@
-import dashboard from './dashboard';
+// import dashboard from './dashboard';
 // import demos from './demos';
 // import externaLink from './externa-link';
 // import account from './account';
 
-export default [...dashboard];
+export default [];
 // export default [...dashboard, ...demos, ...externaLink, ...account];