@airpower/web 1.10.8 → 1.10.10

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.
@@ -34,11 +34,18 @@ export declare class RouterUtil {
34
34
  */
35
35
  static createRouter(routes: RouteRecordRaw[], ignoreGuard?: boolean): Router;
36
36
  /**
37
- * ### 将菜单添加到 `Vue` 路由中
37
+ * ### 注册 `Vue` 路由
38
38
  * @param menuList 菜单列表
39
39
  * @param parentRouter 父级路由名称
40
40
  */
41
- private static addRouterAsync;
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