ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.23k stars 1.35k forks source link

🐛[BUG]TypeError: lo.useFormInstance is not a function 可编辑表格 #7443

Closed fqblog closed 1 year ago

fqblog commented 1 year ago

TypeError: lo.useFormInstance is not a function 可编辑表格 "antd": "4.24.12",版本 "@ant-design/pro-components": "2.6.8", 版本

本地跑是好的,发到测试,线上环境渲染可编辑表格组件EditableProTable报错,,版本兼容性改了几次还是不行,这是为什么呢

image
github-actions[bot] commented 1 year ago

以下的 Issues 可能会帮助到你 / The following issues may help you

chenshuai2144 commented 1 year ago

image

检查下你的版本的, npm ls antd 是不是打包很多份

lius14 commented 1 year ago

TypeError: lo.useFormInstance is not a function 可编辑表格 "antd": "4.24.12",版本 "@ant-design/pro-components": "2.6.8", 版本

本地跑是好的,发到测试,线上环境渲染可编辑表格组件EditableProTable报错,,版本兼容性改了几次还是不行,这是为什么呢 image

请问后来怎么解决的?