Skip to content

[feature] support array type of req & msg#2

Open
PizzaLiu wants to merge 2 commits intotdzl2003:masterfrom
PizzaLiu:master
Open

[feature] support array type of req & msg#2
PizzaLiu wants to merge 2 commits intotdzl2003:masterfrom
PizzaLiu:master

Conversation

@PizzaLiu
Copy link

添加多个 validate 串联的支持:

@observable
@validate([/^.+$/, /^[abc]+$/, /^[abc]{3}$/], ['请输入密码', '只能有abc', '必须是3位字符'])
password = '';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant