Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加enableBulkActions属性,批量操作在一定场景下时候可以动态的隐藏多选框和批量操作按钮区 #10971

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lhtuling
Copy link

增加enableBulkActions属性
批量操作在一定场景下时候可以动态的隐藏多选框和批量操作按钮区

现在只能打开或者关闭,

What

Why

How

增加enableBulkActions属性
批量操作在一定场景下时候可以动态的隐藏多选框和批量操作按钮区

现在只能打开或者关闭,

const {headerToolbar, footerToolbar, enableBulkActions} = this.props;

if (enableBulkActions) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

schemaRender.tsx 里面会自动吧 xxxxOn 的运算结果以 xxxx 下发。

所以要不直接文档上说明用 enableBulkActionsOn ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以 enableBulkActions: true 或者 enableBulkActionsOn: "${ true }"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants