chore: 脚手架

This commit is contained in:
dap
2024-08-07 08:57:56 +08:00
parent 4bd4f7490b
commit c31259598b
83 changed files with 2127 additions and 225 deletions

View File

@@ -24,6 +24,12 @@ async function generateAccessible(
// 动态添加到router实例内
accessibleRoutes.forEach((route) => {
/**
* 外链不应该被添加到路由 由menu处理
*/
if (/^http(s)?:\/\//.test(route.path)) {
return;
}
router.addRoute(route);
});