更新项目,ios打包
This commit is contained in:
@@ -33,6 +33,9 @@ const courtConfig = {
|
||||
// #endif
|
||||
}
|
||||
};
|
||||
|
||||
// 订单编号的正则
|
||||
const orderRegular = /[0-9]\d{31}$/;
|
||||
//手机号验证正则表达式
|
||||
// (中国大陆)
|
||||
// const phoneRegular = /^1\d{10}$/;
|
||||
@@ -46,6 +49,7 @@ const mailRegular = /^\w+([-+._']\w+)*@\w+(\.[a-zA-Z]{2,3}){1,2}$/;
|
||||
// const passwordRegular = /^[a-zA-Z0-9]{4,10}$/;
|
||||
const passwordRegular = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/;
|
||||
export default Object.assign({
|
||||
orderRegular,
|
||||
phoneRegular,
|
||||
mailRegular,
|
||||
passwordRegular
|
||||
|
||||
Reference in New Issue
Block a user