From 06defcf5b6214727074bb1f0cdb20e1ec68fc214 Mon Sep 17 00:00:00 2001 From: liaibo Date: Sat, 24 Jan 2026 13:45:28 +0800 Subject: [PATCH] =?UTF-8?q?0.3.7=20=E4=BF=AE=E5=A4=8Donlyoffice=20?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wolai-frontend/src/app/onlyoffice/OnlyOfficeClientPage.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wolai-frontend/src/app/onlyoffice/OnlyOfficeClientPage.tsx b/wolai-frontend/src/app/onlyoffice/OnlyOfficeClientPage.tsx index 918fc30c..0b93955d 100644 --- a/wolai-frontend/src/app/onlyoffice/OnlyOfficeClientPage.tsx +++ b/wolai-frontend/src/app/onlyoffice/OnlyOfficeClientPage.tsx @@ -744,6 +744,12 @@ export default function OnlyOfficePage() { resolvedDisableDownload, resolvedDisableCopy, permissionResolved, + computedPermissions: { + edit: resolvedMode === "edit", + download: !resolvedDisableDownload, + print: !resolvedDisableDownload, + copy: !resolvedDisableCopy, + }, assetId, documentId, docKey,