Merge branch dev/story-76528 of zentao/zentaopms (#11458)
This commit is contained in:
@@ -1118,8 +1118,8 @@ const actionsMap =
|
||||
canCreateLib ? {icon: 'wiki-lib', text: lang.createLib, command: 'createLib'} : null,
|
||||
].filter(Boolean) : [];
|
||||
return [
|
||||
((canExportDoc && libID > 0) || canCreateDoc) ? {type: 'divider', style: {margin: '6px 0'}} : null,
|
||||
canExportDoc && libID > 0 ? {icon: 'export', text: lang.export, command: 'exportWord'} : null, // 不在库中,无法导出
|
||||
(canExportDoc || canCreateDoc) ? {type: 'divider', style: {margin: '6px 0'}} : null,
|
||||
canExportDoc ? {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