Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
binfast-admin-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
binfast
binfast-admin-view
Commits
98142cec
Commit
98142cec
authored
Oct 15, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试1
parent
d8daaa66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
index.ts
apps/web-antd/src/router/routes/index.ts
+1
-0
No files found.
apps/web-antd/src/router/routes/index.ts
View file @
98142cec
...
@@ -14,6 +14,7 @@ const dynamicRouteFiles = import.meta.glob('./modules/**/*.ts', {
...
@@ -14,6 +14,7 @@ const dynamicRouteFiles = import.meta.glob('./modules/**/*.ts', {
/** 动态路由 */
/** 动态路由 */
const
dynamicRoutes
:
RouteRecordRaw
[]
=
mergeRouteModules
(
dynamicRouteFiles
);
const
dynamicRoutes
:
RouteRecordRaw
[]
=
mergeRouteModules
(
dynamicRouteFiles
);
console
.
log
(
'[mergeRouteModules]'
,
structuredClone
(
dynamicRoutes
));
/** 外部路由列表,访问这些页面可以不需要Layout,可能用于内嵌在别的系统(不会显示在菜单中) */
/** 外部路由列表,访问这些页面可以不需要Layout,可能用于内嵌在别的系统(不会显示在菜单中) */
// const externalRoutes: RouteRecordRaw[] = mergeRouteModules(externalRouteFiles);
// const externalRoutes: RouteRecordRaw[] = mergeRouteModules(externalRouteFiles);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment