更新
This commit is contained in:
@@ -97,16 +97,6 @@ function transformMenusToRoutes(menus) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加路由到路由器
|
||||
* @param {Array} routes - 要添加的路由数组
|
||||
*/
|
||||
function addRoutes(routes) {
|
||||
routes.forEach(route => {
|
||||
router.addRoute(route)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 路由守卫
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user