* [bug #58909] fix export doc to work in doc list not work.
This commit is contained in:
@@ -855,7 +855,7 @@ const actionsMap =
|
||||
].filter(Boolean) : [];
|
||||
return [
|
||||
((canExportDoc && libID > 0) || canCreateDoc) ? {type: 'divider', style: {margin: '6px 0'}} : null,
|
||||
canExportDoc && libID > 0 ? {icon: 'export', text: lang.export, command: 'exportDoc'} : null, // 不在库中,无法导出
|
||||
canExportDoc && libID > 0 ? {icon: 'export', text: lang.export, command: 'exportWord'} : null, // 不在库中,无法导出
|
||||
canUploadDoc ? {icon: 'import', text: lang.uploadDoc, command: 'uploadDoc'} : null,
|
||||
items.length ? {icon: 'plus', type: 'dropdown', btnType: 'primary', size: 'md', text: lang.create, items: items} : null,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user