-
Notifications
You must be signed in to change notification settings - Fork 984
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
[fixbug] required field check #2022
[fixbug] required field check #2022
Conversation
Signed-off-by: Jast <745925668@qq.com>
Signed-off-by: Jast <745925668@qq.com>
// @ts-ignore | ||
if (this.ruleForm.invalid) { | ||
// @ts-ignore | ||
Object.values(this.ruleForm.controls).forEach(control => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, no suggest use the @ts-ignore to ignore warning, how about this this.ruleForm?.invalid
or others
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right, I will optimize it, thanks for the reminder
Signed-off-by: Jast <745925668@qq.com>
// @ts-ignore | ||
if (this.receiverForm.invalid) { | ||
// @ts-ignore | ||
Object.values(this.receiverForm.controls).forEach(control => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi how about here @ts-ignore
and below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forgot to change some parts, I have changed them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
What's changed?
#2017
Checklist