naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

DataTable update:checked-row-keys 参数可以是rowKey

Open wichochiu opened this issue 3 years ago • 1 comments
trafficstars

This function solves the problem (这个功能解决的问题)

单独对数据行操作需要对大量的数据进行处理,无法捕获用户操作具体数据行

Expected API (期望的 API)

update:checked-row-keys(rowKey|rowKeys,row|rows)

wichochiu avatar Aug 29 '22 17:08 wichochiu

会考虑增加具体行信息

07akioni avatar Sep 04 '22 15:09 07akioni

(keys: Array<string | number>, rows: object[], meta: { row: object | undefined, action: 'check' | 'uncheck' | 'checkAll' | 'uncheckAll' }) => void

jahnli avatar Mar 13 '24 03:03 jahnli