mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:29:16 +00:00
* fix: role export button display (#616) * fix: auditLogs view permissions (#617) * fix: role export button display (#616) * fix: auditLogs view permissions (#617)
This commit is contained in:
parent
827c324be3
commit
12f658391a
@ -176,7 +176,6 @@ export const AuditLogs: any = () => {
|
||||
'x-component-props': {
|
||||
openMode: 'drawer',
|
||||
},
|
||||
'x-decorator': 'ACLActionProvider',
|
||||
properties: {
|
||||
drawer: {
|
||||
type: 'void',
|
||||
|
@ -35,7 +35,7 @@ export const useExportAction = () => {
|
||||
es.dataIndex.push('name');
|
||||
}
|
||||
});
|
||||
const { data } = await resource.exportXlsx(
|
||||
const { data } = await resource.export(
|
||||
{
|
||||
title: compile(title),
|
||||
columns: JSON.stringify(compile(exportSettings)),
|
||||
|
@ -9,8 +9,8 @@ export class ExportPlugin extends Plugin {
|
||||
beforeLoad() {}
|
||||
|
||||
async load() {
|
||||
this.app.resourcer.registerActionHandler('exportXlsx', exportXlsx);
|
||||
this.app.acl.setAvailableAction('exportXlsx', {
|
||||
this.app.resourcer.registerActionHandler('export', exportXlsx);
|
||||
this.app.acl.setAvailableAction('export', {
|
||||
displayName: '{{t("Export")}}',
|
||||
allowConfigureFields: true,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user