This commit is contained in:
@@ -12,7 +12,7 @@ body:
|
||||
placeholder: "例如:张三 或 JohnDoe"
|
||||
validations:
|
||||
required: true
|
||||
regex: "^(?:[\u4e00-\u9fa5]{2,10}|[a-zA-Z]{4,20})$"
|
||||
regex: ^(?:[\u4e00-\u9fa5]{2,10}|[a-zA-Z]{4,20})$
|
||||
- type: input
|
||||
id: student_id
|
||||
attributes:
|
||||
@@ -20,7 +20,7 @@ body:
|
||||
placeholder: "例如:202100010001"
|
||||
validations:
|
||||
required: true
|
||||
regex: "^\d{12}$"
|
||||
regex: ^\d{12}$
|
||||
---
|
||||
|
||||
### 输入规则
|
||||
|
||||
Reference in New Issue
Block a user