From 01fbb31601a4652bf3829c3c171bd3043734851b Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 7 Jan 2025 16:47:31 +0800 Subject: [PATCH] * [bug #58909] fix export doc to work in doc list not work. --- lib/zin/wg/docapp/js/v1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/docapp/js/v1.js b/lib/zin/wg/docapp/js/v1.js index 2924d5c192..230d54bce9 100644 --- a/lib/zin/wg/docapp/js/v1.js +++ b/lib/zin/wg/docapp/js/v1.js @@ -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, ];