mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
fix: 修复List多选情况下两个全选按钮的问题
This commit is contained in:
parent
a97dfe234d
commit
08f288b013
@ -673,6 +673,7 @@ export default class List extends React.Component<ListProps, object> {
|
|||||||
actions = Array.isArray(actions) ? actions.concat() : [];
|
actions = Array.isArray(actions) ? actions.concat() : [];
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
region === 'header' &&
|
||||||
!~this.renderedToolbars.indexOf('check-all') &&
|
!~this.renderedToolbars.indexOf('check-all') &&
|
||||||
(btn = this.renderCheckAll())
|
(btn = this.renderCheckAll())
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user