Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台加载菜单支持问号路由参数 #786

Closed
734839030 opened this issue Jun 21, 2021 · 7 comments
Closed

后台加载菜单支持问号路由参数 #786

734839030 opened this issue Jun 21, 2021 · 7 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@734839030
Copy link

测试时候path上加参数会报404,需求是希望给客户功能丰满,一个模块可以配置多个菜单,然后通过路由参数控制一些差异性。
image

@anncwb anncwb added bug Something isn't working enhancement New feature or request labels Jun 23, 2021
@mynetfan
Copy link
Collaborator

请使用类似下面的方法定义路由:

{path:'/sys/param/:type'}

@mynetfan
Copy link
Collaborator

参考Demo:
https://vvbin.cn/next/#/feat/testTab/id1

@noahlann
Copy link

@734839030

估计可以参考这个玩意儿,目前只做了基于 params 的。
#824

@ghost
Copy link

ghost commented Jul 1, 2021

请使用类似下面的方法定义路由:

{path:'/sys/param/:type'}

这个模式导航菜单和面包屑菜单都无法按照预期工作

@noahlann
Copy link

noahlann commented Jul 1, 2021

@734839030 已提交pr,支持参数菜单(路由),但目前仅能支持params形式。改改也能支持query #845

@ghost
Copy link

ghost commented Jul 2, 2021

@734839030 已提交pr,支持参数菜单(路由),但目前仅能支持params形式。改改也能支持query #845

感谢,

@anncwb anncwb closed this as completed Jul 4, 2021
@734839030
Copy link
Author

@734839030 已提交pr,支持参数菜单(路由),但目前仅能支持params形式。改改也能支持query #845

thanks

@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants