Browse Source

修改路由文件名称大小写

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

Loading…
Cancel
Save