早一天把生意做到de

 

 

const isMobilePhoneNum = (params) => {
  const areaCode = params.areaCode || 'cn'
  const str = params.str
  switch (areaCode) {
    case 'de':
      break
    default:
    case 'cn':
      const reg = /^1[3456789]\d{9}$/
      return reg.test(str)
  }
}
export default {
  notShorterStr,
  isLogined,
  isLoginInputOK,
  encryptLoginPwd,
  isMobilePhoneNum
}

 

posted @ 2018-09-08 23:46  papering  阅读(186)  评论(0编辑  收藏  举报