-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Describe the bug (描述 Bug)
路由问题,clone最新的代码,即使https://github.com/vueComponent/ant-design-vue-pro/blob/master/src/store/index.js#L9 是设置的静态路由,但是yarn run serve跑起来可以在console看到最终还是发请求到mock拿到的动态路由(可以明确的看到这条log https://github.com/vueComponent/ant-design-vue-pro/blob/master/src/router/generator-routers.js#L88)
表现上,全量删除https://github.com/vueComponent/ant-design-vue-pro/blob/master/src/config/router.config.js#L17 这些配置不影响页面的路由,删除mock里的配置影响路由
To Reproduce (重现步骤)
clone最新代码即可
Expected behavior(你期待的是什么?)
使用静态路由
Metadata
Metadata
Assignees
Labels
No labels