Skip to content

Commit

Permalink
Merge pull request #107 from NJUPT-SAST/bqx-dev
Browse files Browse the repository at this point in the history
Bqx dev
  • Loading branch information
MaxtuneLee authored Apr 3, 2024
2 parents fe98753 + 0d1ff84 commit e9f8ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/register/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function Register() {
required: true,
rules: [
{
pattern: /^([BPQF](1[89]|2[0-6])(0[0-9]|1[0-7])([0-2]\d|3[01])\d{2}|\d{11})/,
pattern: /^([BPQF](1[89]|2[0-6])(0[0-9]|1[0-7])([0-2]\d|3[01])\d{2}|\d{11})|([0-9]{10})/,
message: '请输入正确的学号',
},
],
Expand Down

0 comments on commit e9f8ac2

Please sign in to comment.