Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

什么时候添加菜单权限呢 #5

Closed
dingxihao1991 opened this issue Jul 3, 2019 · 1 comment
Closed

什么时候添加菜单权限呢 #5

dingxihao1991 opened this issue Jul 3, 2019 · 1 comment

Comments

@dingxihao1991
Copy link

什么时候添加菜单权限呢

@woai3c
Copy link
Owner

woai3c commented Jul 3, 2019

在登陆后,你可以看一下 src/permission.js 文件,里面有一句话

这里可以用 await 配合请求后台数据来生成路由

在那句话标识处请求后台菜单数据,然后就可以生成菜单和路由了

@woai3c woai3c closed this as completed Jul 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants