{"id":286,"date":"2023-08-30T14:44:03","date_gmt":"2023-08-30T06:44:03","guid":{"rendered":""},"modified":"2025-01-02T17:01:20","modified_gmt":"2025-01-02T09:01:20","slug":"article-slug-268","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=286","title":{"rendered":"\u5982\u4f55\u542f\u7528\u6216\u7981\u7528\u5de5\u5177\u680f\u4e2d\u6307\u5b9a\u7684\u7ec4\u4ef6\uff1f"},"content":{"rendered":"<div class=\"line number1 index0 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js comments\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 130, 0) !important;\">\/\/\u901a\u8fc7\u7ec4\u4ef6\u540d\u79f0\u83b7\u53d6\u6307\u5b9a\u7684\u7ec4\u4ef6\u5bf9\u8c61<\/code><\/div>\n<div class=\"line number2 index1 alt1\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js keyword\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; font-weight: bold !important; color: rgb(51, 102, 153) !important;\">var<\/code>&nbsp;<code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">selectedComponent = await pdfui.getComponentByName(<\/code><code class=\"js string\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 51, 102) !important;\">&quot;freetext-typewriter&quot;<\/code><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">);<\/code><\/div>\n<div class=\"line number3 index2 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js comments\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 130, 0) !important;\">\/\/\u8c03\u7528\u7ec4\u4ef6\u5bf9\u8c61\u7684API\u63a5\u53e3\u5bf9\u5176\u8fdb\u884c\u542f\u7528\/\u7981\u7528<\/code><\/div>\n<div class=\"line number4 index3 alt1\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js comments\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 130, 0) !important;\">\/\/\u65b9\u5f0f\u4e00\uff1aenable()\u3001disable()&nbsp; \u5b8c\u5168\u542f\u7528\/\u7981\u7528\u7ec4\u4ef6\u7684\u529f\u80fd<\/code><\/div>\n<div class=\"line number5 index4 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">selectedComponent.disable();<\/code><\/div>\n<div class=\"line number6 index5 alt1\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">selectedComponent.enable()<\/code><\/div>\n<div class=\"line number7 index6 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js comments\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 130, 0) !important;\">\/\/\u65b9\u5f0f\u4e8c\uff1aUI\u5c42\u9762\u7684\u542f\u7528\/\u7981\u7528\uff0c\u70b9\u51fb\u7ec4\u4ef6\u65f6\uff0cswitchStateHandler\u76d1\u542c\u4e8b\u4ef6\u4ecd\u53ef\u4ee5\u5f97\u5230\u54cd\u5e94<\/code><\/div>\n<div class=\"line number8 index7 alt1\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">selectedComponent.doDisable();<\/code><\/div>\n<div class=\"line number9 index8 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background: none rgb(255, 255, 255); border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; min-height: inherit; color: rgb(51, 51, 51);\"><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background: none; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">selectedComponent.doEnable();<\/code><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\/\/\u901a\u8fc7\u7ec4\u4ef6\u540d\u79f0\u83b7\u53d6\u6307\u5b9a\u7684\u7ec4\u4ef6\u5bf9\u8c61 var&nbsp;selectedComponent = await pd [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[],"class_list":["post-286","post","type-post","status-publish","format-standard","hentry","category-websdk"],"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\/286","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\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=286"}],"version-history":[{"count":1,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/286\/revisions"}],"predecessor-version":[{"id":3951,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/286\/revisions\/3951"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}