fix: Disable the free license editing button (#8613)

This commit is contained in:
ssongliu 2025-05-13 14:22:02 +08:00 committed by GitHub
parent 27d7844004
commit d3dfd72a39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,6 +254,9 @@ const buttons = [
},
{
label: i18n.global.t('commons.button.edit'),
disabled: (row: any) => {
return row.status === 'Free';
},
click: (row: any) => {
licenseRef.value.acceptParams({ oldLicense: row.licenseName, isImport: true });
},