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
在antd 的 tree组件中,就有onExpand 和 onSelect 方法来提供回调函数,而在pro-layout就没有相应的方法 具体来说,在pro-layout生成的树节点里,只能根据已有的route来生成,而不可以只点击树节点右侧的箭头展开来异步获取
antd
tree
onExpand
onSelect
pro-layout
route
可以考虑antd tree组件的回调方式实现一下
The text was updated successfully, but these errors were encountered:
handleOpenChange?: (openKeys: string[]) => void; openKeys?: WithFalse<string[]> | undefined;
有这个的。
Sorry, something went wrong.
handleOpenChange?: (openKeys: string[]) => void; openKeys?: WithFalse<string[]> | undefined; 有这个的。
我只找到了menuProps里的onOpenChange方法,你说的那个能举个例子吗?
menuProps
在源码里,他们是不是指向同一个方法?
是个别名,可以只在 layout 上配置
No branches or pull requests
🥰 需求描述
在
antd
的tree
组件中,就有onExpand
和onSelect
方法来提供回调函数,而在pro-layout
就没有相应的方法具体来说,在
pro-layout
生成的树节点里,只能根据已有的route
来生成,而不可以只点击树节点右侧的箭头展开来异步获取🧐 解决方案
可以考虑
antd
tree
组件的回调方式实现一下🚑 其他信息
The text was updated successfully, but these errors were encountered: