We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在所有Tree节点的action item个数都是统一的,特定节点想要不显示,得要
render: () => { if(xxxx) return h('span'); return h(......); }
能不能把if(xxxx)这个条件单拎出来呢? 比如,ActionItem 加一个 condition: (record: any) => bool
if(xxxx)
The text was updated successfully, but these errors were encountered:
export interface ActionItem { render: (record: Recordable) => any; show?: boolean | ((record: Recordable) => boolean); }
Sorry, something went wrong.
8b62fa0
No branches or pull requests
Problem
现在所有Tree节点的action item个数都是统一的,特定节点想要不显示,得要
能不能把
if(xxxx)
这个条件单拎出来呢?比如,ActionItem 加一个 condition: (record: any) => bool
The text was updated successfully, but these errors were encountered: