export function verifyCode ( code ) { return /\d{6}/ . test ( code ) ; } export function verifyMobile ( mobile ) { return /\d{11}/ . test ( mobile . trim ( ) ) ; } export default { verifyCode , verifyMobile , } ;