当前位置:网站首页>async-validator.js数据校验器
async-validator.js数据校验器
2022-06-28 12:39: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. |
边栏推荐
- 深度学习又有新坑了!悉尼大学提出全新跨模态任务,用文本指导图像进行抠图...
- Unity releases webgl and wakes up keyboard input on the mobile terminal inputfield
- 智联招聘基于 Nebula Graph 的推荐实践分享
- NFT数字藏品系统开发(3D建模经济模型开发案例)
- [unity Editor Extension practice] dynamically generate UI code using TXT template
- ASP. NET CORE Study04
- Unity Editor Extension Foundation, editorguilayout (III)
- Tips for using ugui (V) using scroll rect component
- ASP.NET CORE Study06
- C语言 sprintf函数使用详解
猜你喜欢
![[C language] three sorting methods for random number files](/img/a5/363133a0c85aa43c6cd8287e479f71.jpg)
[C language] three sorting methods for random number files

Ugui force refresh of layout components

10万美元AI竞赛:寻找大模型做得“更烂”的任务

ASP.NET CORE Study02

【Unity编辑器扩展基础】、EditorGUILayout (三)

FineReport安装教程

Function and principle of remoteviews

Unity releases webgl and wakes up keyboard input on the mobile terminal inputfield

ASP. NET CORE Study01

From simplekv to redis
随机推荐
[unity Editor Extension practice] find all prefabs referencing this picture
从SimpleKV到Redis
杰理之wif 干扰蓝牙【篇】
请问通达信股票软件可靠吗?在上面交易股票安全吗?
C语言 sprintf函数使用详解
Levels – 虚幻引擎场景制作「建议收藏」
华泰证券开户安全吗? 开户有风险吗
IPETRONIK数据采集设备携手Softing Q-Vision软件致力于ADAS测试方案
ASP.NET CORE Study08
Enterprise source code confidentiality scheme sharing
分页样式 flex设置成在尾部显示(即使页数加长 也不会因为在末尾而换行)
ASP.NET CORE Study06
ASP. NET CORE Study11
【Unity编辑器扩展基础】、EditorGUILayout(二)
unity发布 webgl在手机端 inputfield唤醒键盘输入
Map sorting tool class
易观分析《2022年中国银行业隐私计算平台供应商实力矩阵分析》研究报告正式启动
【Unity编辑器扩展基础】、GUILayout
女子高考落榜读专科逆袭买千万别墅,考得不好真的没关系
KDD 2022 | graph neural network generalization framework under the paradigm of "pre training, prompting and fine tuning"