@airpower/web 1.10.8 → 1.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/WebConfig.d.ts +0 -9
- package/dist/interface/IMenu.d.ts +12 -0
- package/dist/main.js +177 -155
- package/dist/router/RouterUtil.d.ts +9 -2
- package/dist/web.css +1 -1
- package/package.json +1 -1
|
@@ -34,11 +34,18 @@ export declare class RouterUtil {
|
|
|
34
34
|
*/
|
|
35
35
|
static createRouter(routes: RouteRecordRaw[], ignoreGuard?: boolean): Router;
|
|
36
36
|
/**
|
|
37
|
-
* ###
|
|
37
|
+
* ### 注册 `Vue` 路由
|
|
38
38
|
* @param menuList 菜单列表
|
|
39
39
|
* @param parentRouter 父级路由名称
|
|
40
40
|
*/
|
|
41
|
-
private static
|
|
41
|
+
private static registerRoute;
|
|
42
|
+
/**
|
|
43
|
+
* ### 添加路由
|
|
44
|
+
* @param parentRouter 父级路由名称
|
|
45
|
+
* @param menu 菜单
|
|
46
|
+
* @param componentPath 组件路径
|
|
47
|
+
*/
|
|
48
|
+
private static addRoute;
|
|
42
49
|
/**
|
|
43
50
|
* ### 重载缓存中的路由
|
|
44
51
|
* @param menuCacheKey 提供缓存的Key
|