|
@@ -29,6 +29,7 @@ import Layout from '@/layout'
|
|
|
*/
|
|
|
|
|
|
/**
|
|
|
+ * 默认路由 全部用户都可以访问
|
|
|
* constantRoutes
|
|
|
* a base page that does not have permission requirements
|
|
|
* all roles can be accessed
|
|
@@ -92,6 +93,7 @@ export const constantRoutes = [
|
|
|
]
|
|
|
|
|
|
/**
|
|
|
+ * 需要权限访问的路由
|
|
|
* asyncRoutes
|
|
|
* the routes that need to be dynamically loaded based on user roles
|
|
|
*/
|