fix: 修大小写敏感性 (Linux 部署): views/redirect + views/login
This commit is contained in:
@@ -18,7 +18,7 @@ const router = createRouter({
|
|||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
name: 'login',
|
name: 'login',
|
||||||
component: () => import('@/views/Login/index.vue'),
|
component: () => import('@/views/login/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
requiresAuth: false,
|
requiresAuth: false,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export const REDIRECT_MAIN: RouteRecordRaw = {
|
|||||||
{
|
{
|
||||||
path: '/redirect/:path',
|
path: '/redirect/:path',
|
||||||
name: REDIRECT_ROUTE_NAME,
|
name: REDIRECT_ROUTE_NAME,
|
||||||
component: () => import('@/views/Redirect/index.vue'),
|
component: () => import('@/views/redirect/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
requiresAuth: true,
|
requiresAuth: true,
|
||||||
hideInMenu: true,
|
hideInMenu: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user