dld-vue-ui 0.3.6 → 0.3.8

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/README.md CHANGED
@@ -148,6 +148,7 @@ interface IPaneStyle {
148
148
  |`min`|数字框的最小值,`search=true&&type='number'`时有效|`number`|`-Infinity`|
149
149
  |`step`|数字框的跳动步数,`search=true&&type='number'`时有效|`number`|`1`|
150
150
  |`costom`|自定义内容,支持html|`Function`|`ITableData`|
151
+ |`overflow`|表格内容溢出|`boolean`|`false`|
151
152
 
152
153
  ### 方法
153
154
 
@@ -156,13 +157,13 @@ interface IPaneStyle {
156
157
  |`row-click`|行点击事件|`(e: 'row-click', item: ITableData): void;`|
157
158
  |`row-dblclick`|行双击事件|`(e: 'row-dblclick', item: ITableData): void;`|
158
159
  |`selection-change`|选中行改变事件|`(e: 'selection-change', item: ITableData[]): void;`|
159
- |`search`|搜索按钮点击事件|`(e: 'search', item: ITableData): void;`|
160
+ |`search`|搜索按钮点击、输入框回车事件|`(e: 'search', item: ITableData): void;`|
160
161
  |`clear`|清空按钮点击事件|`(e: 'clear'): void;`|
161
162
  |`delete`|删除按钮点击事件|`(e: 'delete', item: ITableData): void;`|
162
163
  |`edit`|修改按钮点击事件|`(e: 'edit', item: ITableData): void;`|
163
164
  |`page-index`|页码变化事件|`(e: 'page-index', newValue: number, oldValue: number): void;`|
164
165
  |`page-size`|每页数量变化事件|`(e: 'page-size', newValue: number, oldValue: number): void;`|
165
- |`enter`|输入框回车事件|`(e: 'enter', item: ITableData): void;`|
166
+ |`get-ref`|获取ref|`(e: 'get-ref', item: ): void;`|
166
167
 
167
168
  ### 插槽
168
169
 
@@ -256,7 +257,15 @@ export interface ITableColumn {
256
257
  /**
257
258
  * 数字框步长
258
259
  */
259
- step?: number
260
+ step?: number,
261
+ /**
262
+ * 自定义
263
+ */
264
+ costom?: (val: ITableData) => string,
265
+ /**
266
+ * 表格内容溢出
267
+ */
268
+ overflow?: boolean
260
269
  }
261
270
  /**
262
271
  * 表单格式