mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 单独一级路由相关逻辑重构
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { getLoginModuleRegExp } from '@/utils';
|
||||
import type { LoginModuleKey } from '@/interface';
|
||||
import { LoginModuleKey } from '@/interface';
|
||||
|
||||
/** 固定的路由 */
|
||||
const constantRoutes: AuthRoute.Route[] = [
|
||||
@ -23,7 +23,8 @@ const constantRoutes: AuthRoute.Route[] = [
|
||||
},
|
||||
meta: {
|
||||
title: '登录',
|
||||
single: true
|
||||
single: true,
|
||||
singleOriginPath: '/login'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user