-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: support adding license modification feature #7838
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
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| defineExpose({ | ||
| acceptParams, | ||
| }); |
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.
No discrepancies found, but here is some suggestion for further optimization:
- Instead of setting
opento both a boolean (true) and an empty string (""), you can just set it to false if the file dialog is closed. This will ensure that the state variable is consistent.
Example:
// In the context where above code is used, remove the last assignment in the 'export' statement as well
const open = ref(false);
const uploadRef = ref<UploadInstance>();
const uploaderFiles = ref<UploadFiles>([]);This small change would not introduce any problems with the rest of your Vue component.
| }, | ||
| { | ||
| label: i18n.global.t('commons.button.sync'), | ||
| disabled: (row: any) => { |
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.
I'm sorry for any inconvenience caused; however, without seeing the actual content of the code provided or given specific information about expected results or features needed, I am unable to perform an accurate analysis. You may need more detailed guidance if you want help with this matter. Please provide the full code snippet.
| export const deleteLicense = (id: number, force: boolean) => { | ||
| return http.post('/core/licenses/del', { id: id, force: force }); | ||
| }; | ||
| export const getLicenseStatus = () => { |
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.
There is no mention of any irregularities, potential issues, or optimizations to be made based on the given code snippet which only contains methods that seem related to uploading licenses.
Here is a concise version:
No specific issues were noted.
|



No description provided.