Skip to content

Commit

Permalink
update phone regex at login register
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-templari committed Mar 30, 2024
1 parent e2ea970 commit 3d589bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Login/LoginRegister.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ onMounted(() => {
v-model:content="account.phone"
:rules="[
{
rule: /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\d{8}$/,
rule: /^1[3456789]\d{9}$/,
warning: '格式错误',
},
]"
Expand Down

0 comments on commit 3d589bf

Please sign in to comment.