暂降治理评估

This commit is contained in:
2024-03-28 13:25:41 +08:00
parent 45ba496361
commit 965b18b540
44 changed files with 2748 additions and 1108 deletions

View File

@@ -0,0 +1,6 @@
// 数字,包含小数,不支持负数
export const numberRegex = /^[+]?(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?$/;
//邮箱
export const emailRegex: RegExp = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
//手机号
export const phoneRegex: RegExp = /^\d{10}$/;