{"id":7671,"date":"2025-12-30T17:38:27","date_gmt":"2025-12-30T09:38:27","guid":{"rendered":"https:\/\/support.fuxinsoft.cn\/?p=7671"},"modified":"2026-01-05T11:19:38","modified_gmt":"2026-01-05T03:19:38","slug":"%e5%a6%82%e4%bd%95%e5%b1%8f%e8%94%bd%e6%b3%a8%e9%87%8a%e7%9a%84%e5%8f%b3%e9%94%ae%e8%8f%9c%e5%8d%95%e9%a1%b9%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=7671","title":{"rendered":"\u5982\u4f55\u5c4f\u853d\u6ce8\u91ca\u7684\u53f3\u952e\u83dc\u5355\u9879\uff1f"},"content":{"rendered":"\n<p><em>\u53ef\u4ee5\u53c2\u8003\u5f00\u53d1\u8005\u624b\u518c\u7b2c279\u9875\u7684\u5185\u5bb9\u4ecb\u7ecd\uff0c\u5728\u521d\u59cb\u5316\u5b9e\u4f8b\u5bf9\u8c61\u65f6\uff0c\u9690\u85cfSDK\u5185\u7f6e\u7684\u6ce8\u91ca\u53f3\u952e\u83dc\u5355\uff0c\u800c\u663e\u793a\u6d4f\u89c8\u5668\u7684\u9ed8\u8ba4\u83dc\u5355\uff0c\u76f8\u5173\u4ee3\u7801\u7247\u6bb5\u5982\u4e0b\uff1a<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>var pdfui = new UIExtension.PDFUI({\n    viewerOptions: {\n        libPath: '..\/..\/..\/lib',\n        jr: {\n            licenseSN: licenseSN,\n            licenseKey: licenseKey\n        },\n        viewerUI: new class extends UIExtension.XViewerUI {\n            createContextMenu(owner, anchor, config) {\n                if (owner instanceof PDFViewCtrl.AnnotComponent) {\n                    const contextMenuName = super.getAnnotsContextMenuName(owner)\n                    \/\/ if (contextMenuName === 'fv--underline-contextmenu'){    \/\/\u5c4f\u853d\u6307\u5b9a\u6ce8\u91ca\u7684\u53f3\u952e\u83dc\u5355\u9879\n                    if (contextMenuName){   \/\/\u5c4f\u853d\u6240\u6709\u6ce8\u91ca\u7684\u53f3\u952e\u83dc\u5355\u9879\n                        return;\n                    }\n                }\n                return super.createContextMenu(owner, anchor, config);\n            }\n        }()\n    },\n    renderTo: '#pdf-ui',\n    appearance: UIExtension.appearances.adaptive,\n    fragments: &#091;],\n    addons: UIExtension.PDFViewCtrl.DeviceInfo.isMobile ?\n        '..\/..\/..\/lib\/uix-addons\/allInOne.mobile.js' : '..\/..\/..\/lib\/uix-addons\/allInOne.js'\n});<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u4ee5\u53c2\u8003\u5f00\u53d1\u8005\u624b\u518c\u7b2c279\u9875\u7684\u5185\u5bb9\u4ecb\u7ecd\uff0c\u5728\u521d\u59cb\u5316\u5b9e\u4f8b\u5bf9\u8c61\u65f6\uff0c\u9690\u85cfSDK\u5185\u7f6e\u7684\u6ce8\u91ca\u53f3\u952e\u83dc\u5355\uff0c\u800c\u663e\u793a\u6d4f\u89c8\u5668\u7684\u9ed8\u8ba4\u83dc [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[604,1111,374],"class_list":["post-7671","post","type-post","status-publish","format-standard","hentry","category-websdk","tag-604","tag-1111","tag-374"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","_links":{"self":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/7671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7671"}],"version-history":[{"count":1,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/7671\/revisions"}],"predecessor-version":[{"id":7738,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/7671\/revisions\/7738"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}