没有合适的资源?快使用搜索试试~ 我知道了~
q-antd:双绑形式的antd。受控组件的双绑、Form的表单验证
共169个文件
js:112个
less:46个
md:4个
需积分: 13 0 下载量 170 浏览量
2021-05-01
08:49:11
上传
评论
收藏 167KB ZIP 举报
温馨提示
简介 q-antd是在antd的基础上,结合mobx,对antd中的表单元素进行二次改装和对Form的重写一个npm包,使得表单元素支持双工绑定,使得表单使用更简单,从而提高开发效率 q-antd最大的优势是: 各个表单元素是双绑的,不需要调用onChange函数手动处理变化后的赋值操作 q-antd的form在使用上比antd的form简单很多,而且form内置了不少自定义布局,能满足绝大数情况下的布局,实在满足不了,可使用manualLayout=true,自定义布局 安装 yarn add q-antd 安装之前需要项目中已经安装了antd 使用 Form 使用说明 使用Form组件和FormItem组件进行布局 使用Form的model属性和表单元素的duplex属性,进行数据的双绑。 使用Form的rules属性进行表单元素的校验 校验规则的写法参见 校验的触发,在各个规则中传入
资源推荐
资源详情
资源评论
收起资源包目录
q-antd:双绑形式的antd。受控组件的双绑、Form的表单验证 (169个子文件)
.babelrc 114B
.gitignore 365B
index.js 21KB
index.js 19KB
index.js 17KB
index.js 14KB
index.js 13KB
index.js 11KB
index.js 9KB
index.js 6KB
index.js 6KB
index.js 5KB
index.js 4KB
index.js 4KB
index.js 4KB
index.js 4KB
index.js 3KB
input.test.js 3KB
form.test.js 2KB
index.js 2KB
item.spec.js 2KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1003B
index.js 954B
index.js 856B
index.js 786B
index.js 678B
index.js 629B
text.test.js 599B
index.js 448B
index.js 439B
index.js 433B
a.test.js 394B
index.js 360B
index.js 359B
index.js 358B
index.js 358B
index.js 356B
index.js 356B
index.js 355B
index.js 354B
index.js 354B
index.js 354B
index.js 352B
index.js 336B
index.js 334B
index.js 324B
setup.js 273B
index.js 187B
index.js 175B
index.js 169B
index.js 119B
index.js 117B
index.js 115B
index.js 115B
index.js 111B
index.js 111B
index.js 109B
index.js 107B
index.js 107B
index.js 107B
duplex.test.js 104B
index.js 103B
index.js 81B
index.js 80B
index.js 79B
index.js 79B
index.js 79B
index.js 76B
index.js 76B
index.js 76B
index.js 75B
index.js 74B
index.js 74B
index.js 74B
index.js 73B
index.js 73B
index.js 72B
index.js 72B
index.js 72B
.jest.js 66B
index.js 62B
index.js 61B
index.js 60B
index.js 60B
index.js 60B
index.js 57B
index.js 57B
index.js 57B
index.js 56B
index.js 55B
index.js 55B
index.js 55B
index.js 54B
index.js 54B
index.js 53B
共 169 条
- 1
- 2
资源评论
沐水涤尘
- 粉丝: 24
- 资源: 4626
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功