add comments
This commit is contained in:
@@ -72,6 +72,7 @@ const router = new Router({
|
||||
})
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
console.log('[*] === router beforeEach: ', to, from)
|
||||
// 添加动态(菜单)路由
|
||||
// 已添加或者当前路由为页面路由, 可直接访问
|
||||
if (window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] || fnCurrentRouteIsPageRoute(to, pageRoutes)) {
|
||||
|
||||
Reference in New Issue
Block a user