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

required: false 不进行“必须”验证 #18

Closed
wants to merge 1 commit into from
Closed

required: false 不进行“必须”验证 #18

wants to merge 1 commit into from

Conversation

zsdycs
Copy link
Contributor

@zsdycs zsdycs commented Sep 1, 2021

当这样使用:

new WeValidator({
  rules: {
    [data._name]: {
      required: data._required,
    },
  },
});

required: false 时,不应该进行 check。

@ChanceYu
Copy link
Owner

ChanceYu commented Sep 5, 2021

已在 v2.1.16 版本修复

@ChanceYu ChanceYu closed this Sep 5, 2021
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.

2 participants