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
3c35f6f4
Commit
3c35f6f4
authored
Oct 15, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试2
parent
98142cec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.ts
apps/web-antd/src/router/routes/index.ts
+2
-1
No files found.
apps/web-antd/src/router/routes/index.ts
View file @
3c35f6f4
...
...
@@ -13,8 +13,9 @@ const dynamicRouteFiles = import.meta.glob('./modules/**/*.ts', {
// const staticRouteFiles = import.meta.glob('./static/**/*.ts', { eager: true });
/** 动态路由 */
console
.
log
(
'[mergeRouteModules]'
,
structuredClone
(
dynamicRouteFiles
));
const
dynamicRoutes
:
RouteRecordRaw
[]
=
mergeRouteModules
(
dynamicRouteFiles
);
console
.
log
(
'[mergeRouteModules]'
,
structuredClone
(
dynamicRoutes
));
//
console.log('[mergeRouteModules]', structuredClone(dynamicRoutes));
/** 外部路由列表,访问这些页面可以不需要Layout,可能用于内嵌在别的系统(不会显示在菜单中) */
// 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