feat: enhance inspection type management table actions
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-24 12:45:49 +08:00
parent 838db60965
commit 5ab5ad2bed
4 changed files with 65 additions and 16 deletions

View File

@@ -26,6 +26,7 @@ export function useTableButtons (options = {}, permissionCheck) {
size: btn.size || 'mini',
auth: btn.auth,
cssStyle: btn.cssStyle || {},
needSelection: !!btn.needSelection,
onClick: btn.onClick,
hasPermission: btn.auth ? check(btn.auth) : true
}))