We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ParentId值不能为空
main
v20.12.0
go 1.21.1
可以
修改/新增菜单选根目录时提示ParentId值不能为空
问题分析: 当ParentId类型是uint时传0不能通过NotEmpty的校验,在validator的 isBlank,uint类型的值等于0是返回True
Ge(0)
The text was updated successfully, but these errors were encountered:
SliverHorn
songzhibin97
bypanghu
No branches or pull requests
gin-vue-admin 版本
main
Node 版本
v20.12.0
Golang 版本
go 1.21.1
是否依旧存在
可以
bug描述
修改/新增菜单选根目录时提示
ParentId值不能为空
问题分析:
当ParentId类型是uint时传0不能通过NotEmpty的校验,在validator的 isBlank,uint类型的值等于0是返回True
修改建议
Ge(0)
verify.go: fix ParentId can't pass notempty verify #1708The text was updated successfully, but these errors were encountered: