gaoluyang
4 天以前 9d017720cc0df497f5764121202fde3f8be16e82
src/store/modules/permission.js
@@ -45,6 +45,7 @@
            const asyncRoutes = filterDynamicRoutes(dynamicRoutes)
            asyncRoutes.forEach(route => { router.addRoute(route) })
            this.setRoutes(rewriteRoutes)
            // 将财务管理路由合并到侧边栏
            this.setSidebarRouters(constantRoutes.concat(sidebarRoutes))
            this.setDefaultRoutes(sidebarRoutes)
            this.setTopbarRoutes(defaultRoutes)