@ningboyz/types 1.0.180 → 1.0.181

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
- "version": "1.0.180",
3
+ "version": "1.0.181",
4
4
  "private": false,
5
5
  "description": "宁波甬政类型库",
6
6
  "author": "nbyt-syq",
@@ -35,7 +35,13 @@ export interface IViewCtrlResponse extends IBaseResponse<IViewCtrlResponse> {
35
35
  /**
36
36
  * vxe中的路由
37
37
  * */
38
- routerLink: string;
38
+ routerLink?: {
39
+ path?: string
40
+ name?: string | number | null
41
+ query?: any
42
+ params?: any
43
+ target?: null | '' | '_blank' | '_self' | '_parent' | '_top'
44
+ };
39
45
  /**
40
46
  * 按钮权限
41
47
  * */
@@ -72,7 +78,7 @@ export class TViewCtrlResponse extends TBaseResponse<IViewCtrlResponse> implemen
72
78
  title: string = "";
73
79
  name: string = "";
74
80
  icon: string = "";
75
- routerLink: string = "";
81
+
76
82
  permissions: IViewCtrlResponse[] = [];
77
83
 
78
84
  static toTree(listView: IViewCtrlResponse[]) {