From d5e85d180496a4749fae4b3f7d6f3371b62eab8a Mon Sep 17 00:00:00 2001 From: huyueb <1062887235@qq.com> Date: Thu, 26 Oct 2017 16:58:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9onRowClick=E7=9A=84api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index e4b43c0..8c3e072 100644 --- a/docs/api.md +++ b/docs/api.md @@ -25,8 +25,8 @@ | onExpand | 展开行时的钩子函数 | Function(expanded, record) | () => '' | | onExpandedRowsChange | 函数在扩展行更改时调用 | Function(expandedRows) | () => '' | | indentSize | indentSize为每个级别的data.i.children,更好地使用column.width指定 | number | 15 | -| onRowClick | 行的点击事件钩子函数 | Function(record, index) | () => '' | -| onRowDoubleClick | 行的双击事件钩子函数 | Function(record, index) | () => '' | +| onRowClick | 行的点击事件钩子函数 | Function(record, index, event) | () => '' | +| onRowDoubleClick | 行的双击事件钩子函数 | Function(record, index, event) | () => '' | | expandIconAsCell | 是否将expandIcon作为单元格 | bool | false | | expandIconColumnIndex | expandIcon的索引,当expandIconAsCell为false时,将插入哪个列 | number | 0 | | showHeader | 是否显示表头 | bool | true |