Replies: 3 comments 3 replies
-
把 “parent” 换成其它名字正常不? |
Beta Was this translation helpful? Give feedback.
0 replies
-
是这个问题吧。#3092 |
Beta Was this translation helpful? Give feedback.
3 replies
-
添加 label 即可。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem(描述问题)
接口定义如下,使用了@Valid :
调用时若无parent参数,则有校验报错是: MidwayValidationError: "value" 是必须的
这里参数名不对,按说应该是:"parent" 是必须的。
请教该如何修改?
Midway Versions(Midway 版本)
"@midwayjs/validate": "3.16.8",
Beta Was this translation helpful? Give feedback.
All reactions