HJY
HJY
> 我用了源码里的示例,没报错能显示哎 ` { const { origin } = record; return ( ); }} />` > >  您好,为什么在文档里我找寻不到这个customText https://f2.antv.antgroup.com/tutorial/shape-attrs#%E6%96%87%E6%9C%AC%E5%B1%9E%E6%80%A7
>  试了一下可以的,麻烦给一下复现地址呢 您好,我也用的这个demo,想请教一下如何可以在tooltip里写出这个格式 2021-11-12 能源:128 金属: 85 农副产品:107 我搜寻其他issue看到可以使用 这个形式 ``` customText={(record: { origin: any }) => { const { origin } = record; return ( ); }} ```...
> ### 🐛 bug 描述 > ProDescriptions 当valueType为Select且字段值为number时,进入编辑模式时,select组件默认选中值显示数字,未显示对应字典值。  > >  > > ### 📷 复现步骤 > 1.声明一个column的valuType为select, dataIndex为status,valueEnum数据如图  > > 2.声明dataSource为{status: 2}(text对应为“已完成”) 打开ProDescriptions的editable 点击字段进入编辑,结果显示值未被映射成text  > >...
@zombieJ 大佬我搞了个新版本解决用户自定义日历的话高度不可以固定写死值,整理了下之前的代码逻辑。思路是renderPlaceholderMonths 创建的 dom 放在组件里,然后获取到可被内容撑开 的 dom 元素,获取到他的高度也就是用户自定义后的高度后再告诉虚拟滚动 List 使用这个高度,测试方式我用src/components/calendar-picker/demos/demo3.less:91 文件修改了 height
我尝试了修复这个问题 https://github.com/ant-design/ant-design-mobile/pull/6766/files
@d3qtian you can disable https://umijs.org/en-US/docs/guides/env-variables#did_you_know
@echoyl  可以添加loading 来直接打开drawer 在antd 5.17.0以上 官网有个示例
这个都不怎么维护了,建议不要迁移
``` onClick={(e) => { const target = e.target as HTMLElement; if (target.closest('.arco-image-preview-close-btn')) { return; } onSelect?.(asset); }} ``` 我暂时这样解决了
我设置这样解决的 triggerProps={{ alignPoint: true, }}