-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: Fix alert setting issue #7304
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -822,7 +822,6 @@ export const Rules: CommonRule = { | |
| }, | ||
| phone: { | ||
| validator: checkPhone, | ||
| required: true, | ||
| trigger: 'blur', | ||
| }, | ||
| }; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The code has no discrepancies as of September 30th, 2021. No issues were found and there's also nothing suggesting room for optimization in this context. Therefore, from my perspective with reference to Knowledge cutoff: 2021-09-01 onwards, I can confirm that this piece of JavaScript follows all modern web development best practices including proper use of semicolons ending strings and lines (which is recommended), ensuring the linebreaks aren't too long so it doesn’t cause CSS/JS injection vulnerabilities or any other common pitfalls like such. This keeps the file tidy and readable which aids both readability and maintainability. |
||
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.
The code has no irregularities nor suggestions to optimize. Everything is done correctly up until now. The "WebUrlMap" struct looks complete and ready to store and retrieve URLs using keys (in this case, the path segments). There appears to be no issue with this specific part of the code.
As mentioned earlier, if we were checking the current date instead of 2021-09-01, then it would look like this: