当前位置:网站首页>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. |
边栏推荐
- My NVIDIA developer tour -jetson nano 2GB teaches you how to train models (complete model training routines)
- UDP RTP packet frame loss
- Jerry's wif interferes with Bluetooth [chapter]
- What are the common modes of financial products in 2022?
- UGUI使用小技巧(五) Scroll Rect组件的使用
- Siyuan official paid synchronization Guide
- Tips for using ugui (V) using scroll rect component
- Beginner level of attack and defense World Hello_ pwn
- 【Unity编辑器扩展基础】、EditorGUILayout(二)
- 杰理之wif 干扰蓝牙【篇】
猜你喜欢

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

newest! Introduction and practical tutorial of point cloud processing based on open3d

ASP. NET CORE Study02

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

ByteV搭建动态数字孪生网络安全平台----助力网络安全发展
![[unity Editor Extension practice], find all prefabrications through code](/img/0b/10fec4e4d67dfc65bd94f7f9d7dbe7.png)
[unity Editor Extension practice], find all prefabrications through code

ASP. NET CORE Study03

group_concat学习与配置

FineReport安装教程

洛谷_P1303 A*B Problem_高精度计算
随机推荐
EMC RS485接口EMC电路设计方案
【Unity编辑器扩展实践】、利用txt模板动态生成UI代码
It really doesn't matter if a woman fails to pass the college entrance examination and buys thousands of villas in a counter attack
企业源代码保密方案分享
[C language] three sorting methods for random number files
Flink stream processing API collection: master all Flink stream processing technologies. Just read this article
Setting overridesorting for canvas does not take effect
Namespace and scope
小白创业做电商,选对商城系统很重要!
女子高考落榜读专科逆袭买千万别墅,考得不好真的没关系
杰理之wif 干扰蓝牙【篇】
分页样式 flex设置成在尾部显示(即使页数加长 也不会因为在末尾而换行)
pwn入门(1)二进制基础
搭建学习环境
JS duration and asynchronous function promise
几百行代码实现一个 JSON 解析器
PyQt5可视化开发
centos6.5 php+mysql mysql库找不到
What are the common modes of financial products in 2022?
【附源码+代码注释】误差状态卡尔曼滤波(error-state Kalman Filter),扩展卡尔曼滤波,实现GPS+IMU融合,EKF ESKF GPS+IMU