mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: 修复 table 点击 checkbox 无反应问题 由于近期调整导致: https://github.com/baidu/amis/pull/6755/files\#diff-642e6cf444d0298f029744a52f8f4d8ae391d2965d65bbff2478c9838d792f3aR1661-R1663 (#6844)
This commit is contained in:
parent
7dde99447e
commit
c8820620ed
@ -2211,9 +2211,7 @@ export default class Table extends React.Component<TableProps, object> {
|
||||
type={multiple ? 'checkbox' : 'radio'}
|
||||
checked={item.checked}
|
||||
disabled={item.checkdisable || !item.checkable}
|
||||
onChange={
|
||||
checkOnItemClick ? noop : this.handleCheck.bind(this, item)
|
||||
}
|
||||
onChange={this.handleCheck.bind(this, item)}
|
||||
/>
|
||||
</td>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user