qy-ui-for-ls 0.4.51 → 0.4.53

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.
@@ -69,6 +69,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
69
69
  * 默认高亮
70
70
  */
71
71
  active: null;
72
+ /**
73
+ * 传递给 el-tree 的额外属性
74
+ * 用于扩展 el-tree 组件的配置项
75
+ */
76
+ treeAttrs: {
77
+ type: ObjectConstructor;
78
+ default: () => {};
79
+ };
80
+ /**
81
+ * 树的高度,设置后树超出高度可滚动
82
+ * 不传则树不限制高度,不滚动
83
+ */
84
+ treeHeight: {
85
+ type: (NumberConstructor | StringConstructor)[];
86
+ default: undefined;
87
+ };
72
88
  }>, {
73
89
  getTreeData: () => void;
74
90
  clearCurrent: () => void;
@@ -146,6 +162,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
146
162
  * 默认高亮
147
163
  */
148
164
  active: null;
165
+ /**
166
+ * 传递给 el-tree 的额外属性
167
+ * 用于扩展 el-tree 组件的配置项
168
+ */
169
+ treeAttrs: {
170
+ type: ObjectConstructor;
171
+ default: () => {};
172
+ };
173
+ /**
174
+ * 树的高度,设置后树超出高度可滚动
175
+ * 不传则树不限制高度,不滚动
176
+ */
177
+ treeHeight: {
178
+ type: (NumberConstructor | StringConstructor)[];
179
+ default: undefined;
180
+ };
149
181
  }>> & Readonly<{
150
182
  onSearch?: ((...args: any[]) => any) | undefined;
151
183
  onNodeClick?: ((...args: any[]) => any) | undefined;
@@ -159,5 +191,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
159
191
  leafKey: string;
160
192
  dashColor: string;
161
193
  showExpand: boolean;
194
+ treeAttrs: Record<string, any>;
195
+ treeHeight: string | number;
162
196
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
163
197
  export default _default;
@@ -81,6 +81,8 @@ export interface TreeProps {
81
81
  query: any;
82
82
  active?: any;
83
83
  paramKey: string;
84
+ treeAttrs?: Record<string, any>;
85
+ treeHeight?: string | number;
84
86
  }
85
87
  export declare namespace Table {
86
88
  interface Pageable {