Browse Source

修改组件

temp
fks-xuxinyue 3 months ago
parent
commit
87243b212d
  1. 3
      lib/component/table/table.vue

3
lib/component/table/table.vue

@ -340,6 +340,9 @@
onChange: (selectedRowKeys: never[], selectedRows: never[]) => {
tableState.selectedRowKeys = selectedRowKeys;
tableState.selectedRows = selectedRows;
if ('radio' === rowSelection.type) {
rowSelection.selectedRowKeys = selectedRowKeys;
}
},
},
isFunction(rowSelection) ? rowSelection(tableState) : rowSelection,

Loading…
Cancel
Save