We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
手摸手教程中route.js变量route 与现有代码不一致。 现有代码逻辑已经改为routes 望大佬有时间改下,小白已踩坑。 https://juejin.im/post/591aa14f570c35006961acac#heading-7
//异步挂载的路由 //动态需要根据权限加载的路由表 export const asyncRouterMap = [ { path: '/permission', component: Layout, name: '权限测试', meta: { role: ['admin','super_editor'] }, //页面需要的权限
建议:可以把教程放在github上可以pull request
The text was updated successfully, but these errors were encountered:
感谢你的建议,不过这是两年多前的文章了,不想改了。这里只是给出一个思路。 自己踩坑才更加印象深刻。
Sorry, something went wrong.
No branches or pull requests
Bug report(问题描述)
手摸手教程中route.js变量route 与现有代码不一致。
现有代码逻辑已经改为routes
望大佬有时间改下,小白已踩坑。
https://juejin.im/post/591aa14f570c35006961acac#heading-7
建议:可以把教程放在github上可以pull request
The text was updated successfully, but these errors were encountered: