Skip to content
New issue

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

validator.validate catch 回调中通过单个形参取值会报错 #328

Open
kiccer opened this issue Feb 1, 2023 · 1 comment
Open

Comments

@kiccer
Copy link

kiccer commented Feb 1, 2023

如图所示(关键地方已标记):
image
image

@kiccer
Copy link
Author

kiccer commented Feb 1, 2023

我在写项目的时候无意间遇到的这个报错,网上几乎查不到有这个报错的,自己找了大半天,最后在 RunKit 上直接式发现也有问题,然后和官方Demo仔细比较在,才找到这个不同点。我还是无法理解,为什么这个取值方式会影响。

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

No branches or pull requests

1 participant