Skip to content

请教一下, 动态路由表是如何生成的? #328

Closed Answered by shangwenhe
jaycethanks asked this question in Q&A
Discussion options

You must be logged in to vote

你需要理解一下,将路由与菜单的两者分开。不要混淆。

真正的路由还是前在前端。服务端返回的都是菜单以及地址,它不需要配置 component。

另:不太了解你的场景。如果你是低代码场景,你的 component 也是后端生成。那你需要有一个对应的动态模块加载器。去加载你的 component。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jaycethanks
Comment options

Answer selected by jaycethanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants