* [ui] fix api edit button not show in api view.

This commit is contained in:
sunhao
2024-11-15 17:19:57 +08:00
committed by 刘刚
parent a9ebb88cdb
commit fa5a896071
+1
View File
@@ -15,6 +15,7 @@ $privs['collect'] = 'no';
$privs['createApi'] = hasPriv('api', 'create');
$privs['exportApi'] = $this->config->edition != 'open' && hasPriv('api', 'export');
$privs['edit'] = hasPriv('api', 'edit');
$privs['editApi'] = hasPriv('api', 'edit');
$privs['view'] = hasPriv('api', 'view');
$privs['delete'] = hasPriv('api', 'delete');
$privs['createLib'] = hasPriv('api', 'createLib');