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

client/store/modules/menu/index.js 文件引用app.js 失效 #244

Closed
wants to merge 11 commits into from

Conversation

shinefly170
Copy link

client/store/modules/menu/index.js 中 import {router} from '../../../app' 引用无效 导致router没有定义 直接导致
router.options.routes[0].children.push(...generateRoutesFromMenu(menuItem))
router.addRoutes(router.options.routes) 这两行代码无法实现动态路由的加载

@freiegeister freiegeister closed this by deleting the head repository Nov 5, 2024
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

Successfully merging this pull request may close these issues.

2 participants