2025-09-15
This commit is contained in:
5
util/common.js
Normal file
5
util/common.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// 校验
|
||||
export const validatePhone = (phone) => {
|
||||
const reg = /^1[3-9]\d{9}$/;
|
||||
return reg.test(phone);
|
||||
};
|
||||
Reference in New Issue
Block a user