Browse Source

修改路由文件名称大小写

master
陈薪名 10 months ago
parent
commit
2d5ca7e9a9
  1. 16
      src/router/modules/remaining.ts

16
src/router/modules/remaining.ts

@ -41,7 +41,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{ {
path: '/redirect/:path(.*)', path: '/redirect/:path(.*)',
name: 'Redirect', name: 'Redirect',
component: () => import('@/views/Redirect/Redirect.vue'), component: () => import('@/views/redirect/redirect.vue'),
meta: {} meta: {}
} }
], ],
@ -59,7 +59,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
children: [ children: [
{ {
path: 'index', path: 'index',
component: () => import('@/views/Home/Index.vue'), component: () => import('@/views/home/index.vue'),
name: 'Index', name: 'Index',
meta: { meta: {
title: t('router.home'), title: t('router.home'),
@ -80,7 +80,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
children: [ children: [
{ {
path: 'profile', path: 'profile',
component: () => import('@/views/Profile/Index.vue'), component: () => import('@/views/profile/index.vue'),
name: 'Profile', name: 'Profile',
meta: { meta: {
canTo: true, canTo: true,
@ -177,7 +177,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
}, },
{ {
path: '/login', path: '/login',
component: () => import('@/views/Login/Login.vue'), component: () => import('@/views/login/login.vue'),
name: 'Login', name: 'Login',
meta: { meta: {
hidden: true, hidden: true,
@ -187,7 +187,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
}, },
{ {
path: '/sso', path: '/sso',
component: () => import('@/views/Login/Login.vue'), component: () => import('@/views/login/login.vue'),
name: 'SSOLogin', name: 'SSOLogin',
meta: { meta: {
hidden: true, hidden: true,
@ -197,7 +197,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
}, },
{ {
path: '/403', path: '/403',
component: () => import('@/views/Error/403.vue'), component: () => import('@/views/error/403.vue'),
name: 'NoAccess', name: 'NoAccess',
meta: { meta: {
hidden: true, hidden: true,
@ -207,7 +207,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
}, },
{ {
path: '/404', path: '/404',
component: () => import('@/views/Error/404.vue'), component: () => import('@/views/error/404.vue'),
name: 'NoFound', name: 'NoFound',
meta: { meta: {
hidden: true, hidden: true,
@ -217,7 +217,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
}, },
{ {
path: '/500', path: '/500',
component: () => import('@/views/Error/500.vue'), component: () => import('@/views/error/500.vue'),
name: 'Error', name: 'Error',
meta: { meta: {
hidden: true, hidden: true,

Loading…
Cancel
Save