当前位置:网站首页>async-validator.js數據校驗器
async-validator.js數據校驗器
2022-06-28 12:41:00 【51CTO】
文檔:
安裝
示例
打印出的校驗信息
rule的屬性
可以使用的 Type
| 類型 | 描述 |
|---|---|
| string | Must be of type string. This is the default type. |
| number | Must be of type number. |
| boolean | Must be of type boolean. |
| method | Must be of type function. |
| regexp | Must be an instance of RegExp or a string that does not generate an exception when creating a new RegExp. |
| integer | Must be of type number and an integer. |
| float | Must be of type number and a floating point number. |
| array | Must be an array as determined by Array.isArray. |
| object | Must be of type object and not Array.isArray. |
| enum | Value must exist in the enum. |
| date | Value must be valid as determined by Date |
| url | Must be of type url. |
| hex | Must be of type hex. |
| Must be of type email. | |
| any | Can be any type. |
边栏推荐
- IPETRONIK数据采集设备携手Softing Q-Vision软件致力于ADAS测试方案
- PyQt5可视化开发
- ByteV搭建动态数字孪生网络安全平台----助力网络安全发展
- How to install SSL certificates in Microsoft Exchange 2010
- 【Unity编辑器扩展基础】、GUI
- unity发布 webgl在手机端 inputfield唤醒键盘输入
- 《数字经济全景白皮书》消费金融数字化篇 重磅发布
- 【经验分享】Django开发中常用到的数据库操作总结
- Levels – virtual engine scene production "suggestions collection"
- EMC RS485 interface EMC circuit design scheme
猜你喜欢

ASP.NET CORE Study01
![[C language] use of nested secondary pointer of structure](/img/59/8b61805431e152995c250f6dd08e29.png)
[C language] use of nested secondary pointer of structure

攻防世界新手入门hello_pwn

Bytev builds a dynamic digital twin network security platform -- helping network security development

【Unity编辑器扩展实践】、通过代码查找所有预制

Flink流处理API大合集:掌握所有flink流处理技术,看这一篇就够了

newest! Introduction and practical tutorial of point cloud processing based on open3d
![[C language] about scanf() and scanf_ Some problems of s()](/img/d1/e3d0b845e699c8c1fe3eb9f3b250e1.png)
[C language] about scanf() and scanf_ Some problems of s()

Enterprise source code confidentiality scheme sharing

Deep learning has a new pit! The University of Sydney proposed a new cross modal task, using text to guide image matting
随机推荐
2022-06-28日报:LeCun最新论文:通往自主机器智能的道路
Matplotlib_Study01
ASP. NET CORE Study03
IPETRONIK数据采集设备携手Softing Q-Vision软件致力于ADAS测试方案
基础软件照搬开源不可取,自力更生才是正途
From simplekv to redis
What are the common modes of financial products in 2022?
[vi/vim] basic usage and command summary
Continuous integration practice of Baidu app based on pipeline as code
ASP.NET CORE Study07
group_concat学习与配置
关于IP定位查询接口的测评Ⅰ
[source code + code comments] error state Kalman filter, extended Kalman filter, gps+imu fusion, EKF eskf gps+imu
Jerry's wif interferes with Bluetooth [chapter]
Evaluation of IP location query interface I
pwn入门(1)二进制基础
【附源码+代码注释】误差状态卡尔曼滤波(error-state Kalman Filter),扩展卡尔曼滤波,实现GPS+IMU融合,EKF ESKF GPS+IMU
[C language] three sorting methods for random number files
arcgis pro 可以实现直连postgresql,编辑图层要素吗
分页样式 flex设置成在尾部显示(即使页数加长 也不会因为在末尾而换行)