博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
typescript中使用antd.form.create
阅读量:7111 次
发布时间:2019-06-28

本文共 474 字,大约阅读时间需要 1 分钟。

typescript中使用antd.form.create

报错内容如下

与类型“IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<FormComponentProps

  • 解决办法如下:
1 import {FormComponentProps} from 'antd/lib/form/Form';2 interface CreateNoticeModalProps extends FormComponentProps {  isShow: boolean  onCancel: any  onOk: any}3 class Test extends React.Component
{}4 最关键的export default Form.create
()(CreateNoticeModal)

转载于:https://www.cnblogs.com/huangxingyuan/p/10819924.html

你可能感兴趣的文章
hbase存储格式
查看>>
Struts1.3 action配置
查看>>
Cisco IOS 配置PPPOE
查看>>
DRP(导向应答协议
查看>>
华为数通产品MIB库OID信息自助指引
查看>>
SCOM 2012系列③导入管理包
查看>>
C++里的继承和多态(中)——分析单继承、多继承、菱形继承(不含虚函数)...
查看>>
PHP: 深入了解一致性哈希
查看>>
set yum resource to your cdrom
查看>>
教你设置更安全的密码
查看>>
用递归读取数据库(*.MDB)生成树节点(TreeNode)
查看>>
我的友情链接
查看>>
我的友情链接
查看>>
nginx 非80、443端口跳转到80、443
查看>>
ubuntu 12.04 安装kvm,解决Virtual Machine Manager启动报错
查看>>
Oracle IO问题解析(八)
查看>>
Replacing the ESXi Host Default Certificate with a CA-Signed Certificate
查看>>
音频视频压缩ffmpeg
查看>>
基于HTML5实现的Heatmap热图3D应用
查看>>
我的友情链接
查看>>