This commit is contained in:
@@ -12,7 +12,7 @@ body:
|
|||||||
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:
|
||||||
@@ -20,7 +20,7 @@ body:
|
|||||||
placeholder: "例如:202100010001"
|
placeholder: "例如:202100010001"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
regex: "^\d{12}$"
|
regex: ^\d{12}$
|
||||||
---
|
---
|
||||||
|
|
||||||
### 输入规则
|
### 输入规则
|
||||||
|
|||||||
Reference in New Issue
Block a user