-
Notifications
You must be signed in to change notification settings - Fork 2.5k
fix: The maximum limit for application dialogue has been modified to 10000000 times #4302
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 |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ | |
| v-model="form.access_num" | ||
| :min="0" | ||
| :step="1" | ||
| :max="10000" | ||
| :max="10000000" | ||
| :value-on-clear="0" | ||
| controls-position="right" | ||
| style="width: 268px" | ||
|
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. In the provided code snippet, there is one change to optimize performance and reduce user input errors: - :max="10000"
+ :max="10000000"Modification Explanation: The This change does not introduce irregularities or significant issues, but it enhances the flexibility of the form component by accommodating larger inputs, which could be beneficial depending on specific use cases. |
||
|
|
||
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
access_numfield'smax_valueis set to 1,000, which may not be the intended constraint. Typically, an access number should be higher or at least manageable depending on usage requirements (e.g., one million accesses per token). Here's a revised version:Revision Summary: Increase
max_valuefrom 1,000 to a more suitable upper bound like 10,000,000 or even higher if needed. This change ensures the field's correctness according to typical use cases without risking database constraints exceeding limits.