Comments (3)
from pro-components.
我知道了,你应该用menuContentRender
menuContentRender={(props, defaultDom) =><div>{defaultDom}<div>自定义内容</div></ div>}
类似上面这样
from pro-components.
from pro-components.
Related Issues (20)
- 当前 Issue 未检测到标题,请规范填写,谢谢!
- 🐛[BUG]Prolist 中 同时设置 grid 和 rowSelection ,为什么不显示多选框 HOT 1
- 🐛[BUG]EditableProTable组件editable中的actionRender中拿不到最新的react state状态
- 🧐[问题] 数据类型疑问 ProFormSelect
- 🧐[问题] 使用BetaSchemaForm, 其layoutType 设置为 "Embed", 定义onValuesChange事件, 当BetaSchemaForm内的表单项值发生变化时,onValuesChange不会被触发
- 🐛[BUG]Tabs 和 ProForm.useWatch 同时使用时无法正常监听 HOT 1
- 🐛[BUG]ProTable搜索清空数据前提交beforeSearchSubmit被触发 HOT 1
- 👑 [需求]ProTable增加tableRef用来获取antd Table ref HOT 1
- 🐛[BUG] ProFormDateRangePicker 国际化失效
- 🐛[BUG]ProLayout的menuProps属性defaultOpenKeys没有效果
- 👑 [需求] How can we add custom theme Icon in SettingDrawer?
- 🧐[问题] profrom中有两个组件,A组件是下拉框,下拉值是:输入框、下拉框,B组件展示是根据A组件选择的值。比如,A组件选择的值是:下拉框时,B组件展示的就是下拉框组件 HOT 1
- 🐛[BUG]ProFormDigit组件设置 precision=2, 输入多个小数点数值展示整数【升级版本解决,请忽略】 HOT 1
- ProTable 边距逻辑破坏性调整导致大面积列表样式异常
- 🐛[BUG]ProFormColorPicker onChange 类型错误 是AggregationColor
- 🐛[BUG]EditableProTable sticky(或 scroll.y) 且 scroll.x 和 virtual为true的情况下,初次渲染列会闪动
- 🧐[问题] 如何给sider menu增加一个鼠标移入移出事件,去修改侧边menu的收起关闭状态
- 🧐[问题]从umi换成vite构建后,ConfigProvider 提供的主题在 ProComponents失效
- 🐛[BUG]升级了 antd5.20+之后,prolayout 的 top menu 上下不对齐
- 🧐[问题] 请问如何全局设置allowClear={false}呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pro-components.