@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.
@@ -208,15 +208,6 @@ export declare class WebConfig {
208
208
  resetFilter: string;
209
209
  clearFilter: string;
210
210
  sumText: string;
211
- selectAllLabel: string;
212
- selectRowLabel: string;
213
- expandRowLabel: string;
214
- collapseRowLabel: string;
215
- sortLabel: string;
216
- filterLabel: string;
217
- };
218
- tag: {
219
- close: string;
220
211
  };
221
212
  tour: {
222
213
  next: string;
@@ -1,3 +1,4 @@
1
+ import { RouteMeta } from 'vue-router';
1
2
  import { ITree } from './ITree';
2
3
  /**
3
4
  * ### 菜单接口
@@ -7,6 +8,7 @@ import { ITree } from './ITree';
7
8
  export interface IMenu extends ITree {
8
9
  /**
9
10
  * ### 菜单 `URL`
11
+ * 当菜单有 path
10
12
  */
11
13
  path: string;
12
14
  /**
@@ -21,4 +23,14 @@ export interface IMenu extends ITree {
21
23
  * ### 菜单是否禁用
22
24
  */
23
25
  isDisabled: boolean;
26
+ /**
27
+ * ### 重定向地址
28
+ * @description 如配置了此项,则会自动注册为重定向路由
29
+ * 当匹配该路由时,会自动跳转到 redirect 指定的地址
30
+ */
31
+ redirect?: string;
32
+ /**
33
+ * ### 菜单元数据
34
+ */
35
+ meta?: RouteMeta;
24
36
  }