antd
zb0002011
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Ant Design Pro 创建项目
https://pro.ant.design/index-cnLet’sPro命令行运行下列命令,快速启动开发服务:$ yarn create umi my-appSelect the boilerplate type:选择 Ant Design Pro❯ant-design-proWhich language do you want to use?选择你使用的语言❯TypeScriptJavaScript$ cd my-app$ yarn$ ...原创 2020-07-21 10:12:26 · 2058 阅读 · 0 评论 -
antd 样式修改
需要修改antd Table 扩展行的背景颜色,通过下图可以发现控制该背景的CSS.在Table组件上添加样式。然而该样式并内有起作用,根据上图(这里是重点)修改样式为:或者:1、修改antd,需要添加:global。2、添加了:global该样式会变成全局样式,因此这里需要添加父类。如上面的expanderRow。...原创 2020-05-18 13:51:17 · 5445 阅读 · 0 评论 -
怎样使用antd Form 的API
两种用法1、Form.create()经 Form.create() 包装过的组件会自带 this.props.form 属性1.2、class函数使用Form.create():class CustomizedForm extends React.Component {...代码}CustomizedForm = Form.create({})(Customized...原创 2020-04-24 14:44:11 · 2839 阅读 · 1 评论
分享