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

动态新增修改左侧sidebar #790

Closed
onlySparrow opened this issue Jun 21, 2018 · 3 comments
Closed

动态新增修改左侧sidebar #790

onlySparrow opened this issue Jun 21, 2018 · 3 comments

Comments

@onlySparrow
Copy link

default
新建一个菜单配置页面 如何动态新增修改左侧sidebar菜单? 例如在线修改菜单名称, 菜单位置的移动

@PanJiaChen
Copy link
Owner

其实就是将原先写死在本地的router.js 路由表转化为一个json存在服务端或者哪里就可以了。
参照 #293

@735396789
Copy link

如何动态的获取sidebar二级菜单?因为好多后台都是初始先返回一级菜单,然后再动态去请求二级菜单。

@onlySparrow
Copy link
Author

左侧菜单通过const map重定向已经显示出来但在路由跳转时报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants