* [bug #58909] fix export doc to work in doc list not work.

This commit is contained in:
sunhao
2025-01-07 16:49:19 +08:00
committed by 丁永亮
parent 86870dd741
commit 01fbb31601
+1 -1
View File
@@ -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,
];