fix: 修复 Rust OnlyOffice 附件打开链路

This commit is contained in:
lix-2026
2026-05-11 08:27:52 +08:00
parent 2f9ef85350
commit b7dddd2a66
20 changed files with 3484 additions and 109 deletions
+1 -3
View File
@@ -1,5 +1,4 @@
import { Suspense } from "react";
import Script from "next/script";
import OnlyOfficeClientPage from "./OnlyOfficeClientPage";
export const dynamic = "force-dynamic";
@@ -105,9 +104,8 @@ export default function OnlyOfficePage() {
</div>
}
>
<Script
<script
id="mnote-onlyoffice-earlypatch"
strategy="beforeInteractive"
dangerouslySetInnerHTML={{ __html: ONLYOFFICE_EARLY_PATCH }}
/>
<OnlyOfficeClientPage />