Closed haoyinag closed 4 years ago
title不支持()=>ReactNode
这个是在比较新的版本的中支持的,你不是把 lock 之类的文件上传到打平台了
可能是,我验证一下
获取 Outlook for iOShttps://aka.ms/o0ukef
发件人: 陈帅 notifications@github.com 发送时间: Thursday, August 6, 2020 2:09:37 PM 收件人: ant-design/pro-components pro-components@noreply.github.com 抄送: ChenHaoYin haoyinag0@hotmail.com; Author author@noreply.github.com 主题: Re: [ant-design/pro-components] 🐛[BUG] pro-table的columns的title不支持()=>ReactNode (#101)
title不支持()=>ReactNode
这个是在比较新的版本的中支持的,你不是把 lock 之类的文件上传到打平台了
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ant-design/pro-components/issues/101#issuecomment-669723087, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFZYZ642MQ3FNFSU7LJ26OTR7JCKDANCNFSM4PVFL7YQ.
pro-table的columns的title不支持()=>ReactNode,开发环境是正常的,打包编译之后线上不行,根本不进入函数
💻 复现代码
原函数
修复后,也不能说修复,只是绕过了
© 版本信息
这样修改之后,开发环境和online才都正常了,具体原因不知,估计是和打包插件有冲突