工单
This commit is contained in:
@@ -46,6 +46,8 @@ const courtConfig = {
|
||||
// #endif
|
||||
}
|
||||
};
|
||||
// 订单编号的正则
|
||||
const orderRegular = /[0-9]\d{31}$/;
|
||||
//手机号验证正则表达式
|
||||
// (中国大陆)
|
||||
const phoneRegular = /^1\d{10}$/;
|
||||
@@ -59,5 +61,6 @@ const passwordRegular = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/;
|
||||
export default Object.assign({
|
||||
phoneRegular,
|
||||
mailRegular,
|
||||
passwordRegular
|
||||
passwordRegular,
|
||||
orderRegular
|
||||
}, courtConfig);
|
||||
Reference in New Issue
Block a user