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