mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 12:13:46 +08:00
opt: create new chat session when change role or model, fix bug for mobile no validate
This commit is contained in:
@@ -6,6 +6,6 @@ export function validateEmail(email) {
|
||||
}
|
||||
|
||||
export function validateMobile(mobile) {
|
||||
const regex = /^1[345789]\d{9}$/;
|
||||
const regex = /^1[3456789]\d{9}$/;
|
||||
return regex.test(mobile);
|
||||
}
|
||||
Reference in New Issue
Block a user