{"id":295981,"date":"2024-05-20T15:49:51","date_gmt":"2024-05-20T07:49:51","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/295981.html"},"modified":"2024-05-20T15:50:08","modified_gmt":"2024-05-20T07:50:08","slug":"%e5%9b%9e%e8%b0%83%e5%87%bd%e6%95%b0%ef%bc%88callback%ef%bc%89%e6%98%af%e4%bb%80%e4%b9%88-3","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/295981.html","title":{"rendered":"\u56de\u8c03\u51fd\u6570\uff08callback\uff09\u662f\u4ec0\u4e48"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27143343\/50c838ca-b1fe-4ce6-be8b-06274c5ec6f3.webp\" alt=\"\u56de\u8c03\u51fd\u6570\uff08callback\uff09\u662f\u4ec0\u4e48\" \/><\/p>\n<p><p>\u56de\u8c03\u51fd\u6570\uff08Callback\uff09\u662f\u5728\u67d0\u4e2a\u7279\u5b9a\u7684\u4e8b\u4ef6\u53d1\u751f\u6216\u67d0\u4e2a\u6307\u5b9a\u7684\u65f6\u95f4\u70b9\u89e6\u53d1\u65f6\uff0c\u7531\u53e6\u5916\u4e00\u4e2a\u51fd\u6570\u6267\u884c\u7684\u51fd\u6570\u3002<strong>\u5b83\u4eec\u5728\u5f02\u6b65\u7f16\u7a0b\u4e2d\u5c24\u4e3a\u91cd\u8981\u3001\u63d0\u4f9b\u4e00\u79cd\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u7684\u7ed3\u679c\u7684\u65b9\u6cd5<\/strong>\u3002\u5728JavaScript\u7b49\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u56de\u8c03\u51fd\u6570\u5e7f\u6cdb\u7528\u4e8e\u5904\u7406\u8bf8\u5982\u670d\u52a1\u5668\u54cd\u5e94\u3001\u7528\u6237\u4ea4\u4e92\uff08\u5982\u70b9\u51fb\u4e8b\u4ef6\uff09\u6216\u5b9a\u65f6\u4e8b\u4ef6\u7b49\u3002\u56de\u8c03\u51fd\u6570\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u591f\u786e\u4fdd\u67d0\u4e9b\u4ee3\u7801\u5728\u5176\u4ed6\u4ee3\u7801\u5b8c\u6210\u540e\u6267\u884c\uff0c\u4ece\u800c\u907f\u514d\u4e86\u5728\u540c\u6b65\u64cd\u4f5c\u4e2d\u5e38\u89c1\u7684\u7b49\u5f85\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u5728\u6df1\u5165\u89e3\u91ca\u56de\u8c03\u51fd\u6570\u4e4b\u524d\uff0c\u91cd\u8981\u7684\u662f\u5148\u4e86\u89e3\u4e3a\u4ec0\u4e48\u5b83\u4eec\u5728\u73b0\u4ee3\u7f16\u7a0b\u4e2d\u626e\u6f14\u7740\u5982\u6b64\u5173\u952e\u7684\u89d2\u8272\u3002\u4e3e\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5f53\u4f60\u6d4f\u89c8\u4e00\u4e2a\u9700\u8981\u4ece\u670d\u52a1\u5668\u52a0\u8f7d\u6570\u636e\u7684\u7f51\u9875\u65f6\uff0c\u52a0\u8f7d\u8fc7\u7a0b\u662f\u5f02\u6b65\u8fdb\u884c\u7684\u3002\u8fd9\u610f\u5473\u7740\u6d4f\u89c8\u5668\u5728\u7b49\u5f85\u670d\u52a1\u5668\u54cd\u5e94\u7684\u540c\u65f6\uff0c\u4ecd\u7136\u53ef\u4ee5\u6267\u884c\u5176\u4ed6\u4efb\u52a1\uff0c\u5982\u7528\u6237\u8f93\u5165\u3002\u5728\u6570\u636e\u6210\u529f\u52a0\u8f7d\u540e\uff0c\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\u4f1a\u88ab\u89e6\u53d1\uff0c\u7528\u6765\u5904\u7406\u8fd9\u4e9b\u6570\u636e\u3002\u5982\u679c\u6ca1\u6709\u56de\u8c03\u51fd\u6570\uff0c\u6d4f\u89c8\u5668\u5c31\u9700\u8981\u505c\u6b62\u6240\u6709\u64cd\u4f5c\uff0c\u76f4\u5230\u6570\u636e\u88ab\u5b8c\u5168\u52a0\u8f7d\u3002\u660e\u663e\u5730\uff0c\u8fd9\u4f1a\u5927\u5927\u964d\u4f4e\u7528\u6237\u4f53\u9a8c\u3002\u56e0\u6b64\uff0c\u56de\u8c03\u51fd\u6570\u6210\u4e3a\u4e86\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u4e0d\u53ef\u7f3a\u5c11\u7684\u90e8\u5206\uff0c\u5141\u8bb8\u7f51\u9875\u548c\u5e94\u7528\u5728\u4fdd\u6301\u76f8\u5e94\u6027\u7684\u540c\u65f6\u5904\u7406\u590d\u6742\u7684\u540e\u53f0\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u56de\u8c03\u51fd\u6570\u7684\u8fd0\u4f5c\u673a\u5236<\/h2>\n<\/p>\n<p><p>\u56de\u8c03\u51fd\u6570\u7684\u6838\u5fc3\u662f\u5ef6\u8fdf\u51fd\u6570\u8c03\u7528\u76f4\u5230\u7279\u5b9a\u4e8b\u4ef6\u53d1\u751f\u3002\u901a\u5e38\uff0c\u5f00\u53d1\u4eba\u5458\u4e0d\u4f1a\u76f4\u63a5\u8c03\u7528\u56de\u8c03\u51fd\u6570\u3002\u76f8\u53cd\uff0c\u5b83\u4eec\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u51fd\u6570\uff0c\u5e76\u5728\u5408\u9002\u7684\u65f6\u95f4\u88ab\u8be5\u51fd\u6570\u89e6\u53d1\u3002<\/p>\n<\/p>\n<p><h3>\u51fd\u6570\u4f5c\u4e3a\u4e00\u7ea7\u516c\u6c11<\/h3>\n<\/p>\n<p><p>\u5728\u50cfJavaScript\u8fd9\u6837\u7684\u8bed\u8a00\u4e2d\uff0c\u51fd\u6570\u88ab\u89c6\u4e3a&quot;\u4e00\u7ea7\u516c\u6c11&quot;\u3002\u8fd9\u610f\u5473\u7740\u51fd\u6570\u53ef\u4ee5\u50cf\u4efb\u4f55\u5176\u4ed6\u6570\u636e\u7c7b\u578b\u4e00\u6837\u88ab\u8d4b\u503c\u7ed9\u53d8\u91cf\u3001\u53ef\u4ee5\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u5176\u4ed6\u51fd\u6570\uff0c\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u5176\u4ed6\u51fd\u6570\u7684\u8fd4\u56de\u503c\u3002\u8fd9\u79cd\u7075\u6d3b\u6027\u662f\u56de\u8c03\u51fd\u6570\u80fd\u591f\u53d1\u6325\u5176\u5f3a\u5927\u4f5c\u7528\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<p><h3>\u5f02\u6b65\u7f16\u7a0b\u4e2d\u7684\u56de\u8c03\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u5f02\u6b65\u7f16\u7a0b\u662f\u73b0\u4ee3Web\u5f00\u53d1\u7684\u6838\u5fc3\u6982\u5ff5\u4e4b\u4e00\u3002\u5b83\u5141\u8bb8\u7a0b\u5e8f\u7ee7\u7eed\u6267\u884c\u800c\u4e0d\u5fc5\u7b49\u5f85\u975e\u540c\u6b65\u64cd\u4f5c\uff08\u5982\u6570\u636e\u4ece\u670d\u52a1\u5668\u52a0\u8f7d\uff09\u7684\u5b8c\u6210\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u56de\u8c03\u51fd\u6570\u7528\u6765\u5728\u64cd\u4f5c\u5b8c\u6210\u65f6\u901a\u77e5\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u4e3a\u4ec0\u4e48\u4f7f\u7528\u56de\u8c03\u51fd\u6570<\/h2>\n<\/p>\n<p><p>\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u7684\u7406\u7531\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u7ba1\u7406\u5f02\u6b65\u64cd\u4f5c\u3001\u63d0\u9ad8\u7a0b\u5e8f\u7684\u54cd\u5e94\u6027\u4ee5\u53ca\u5b9e\u73b0\u4e8b\u4ef6\u76d1\u542c\u3002<\/p>\n<\/p>\n<p><h3>\u7ba1\u7406\u5f02\u6b65\u64cd\u4f5c<\/h3>\n<\/p>\n<p><p>\u5728\u9700\u8981\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u624d\u80fd\u7ee7\u7eed\u6267\u884c\u7684\u60c5\u51b5\u4e0b\uff08\u5982\u4ece\u6570\u636e\u5e93\u83b7\u53d6\u6570\u636e\uff09\uff0c\u56de\u8c03\u51fd\u6570\u63d0\u4f9b\u4e86\u4e00\u79cd\u65e0\u9700\u6682\u505c\u7a0b\u5e8f\u5c31\u80fd\u5904\u7406\u7ed3\u679c\u7684\u65b9\u6cd5\u3002\u8fd9\u6781\u5927\u5730\u63d0\u5347\u4e86\u7528\u6237\u4f53\u9a8c\u548c\u7a0b\u5e8f\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u63d0\u9ad8\u7a0b\u5e8f\u7684\u54cd\u5e94\u6027<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u907f\u514d\u963b\u585e\u64cd\u4f5c\uff0c\u56de\u8c03\u51fd\u6570\u4f7f\u7a0b\u5e8f\u80fd\u591f\u5728\u7b49\u5f85\u5f02\u6b65\u64cd\u4f5c\u5b8c\u6210\u7684\u540c\u65f6\uff0c\u7ee7\u7eed\u5904\u7406\u5176\u4ed6\u4efb\u52a1\u3002\u8fd9\u79cd\u975e\u963b\u585e\u5f0f\u7f16\u7a0b\u6a21\u578b\u662f\u73b0\u4ee3Web\u5e94\u7528\u80fd\u591f\u9ad8\u6548\u8fd0\u884c\u7684\u5173\u952e\u4e4b\u4e00\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u5982\u4f55\u5b9e\u73b0\u548c\u4f7f\u7528\u56de\u8c03\u51fd\u6570<\/h2>\n<\/p>\n<p><p>\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u901a\u5e38\u6d89\u53ca\u5c06\u4e00\u4e2a\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u53e6\u4e00\u4e2a\u6267\u884c\u5f02\u6b65\u64cd\u4f5c\u7684\u51fd\u6570\u3002\u5f53\u64cd\u4f5c\u5b8c\u6210\u65f6\uff0c\u8fd9\u4e2a\u4f20\u9012\u8fdb\u53bb\u7684\u51fd\u6570\u88ab\u8c03\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u5b9e\u73b0\u56de\u8c03\u51fd\u6570\u7684\u6b65\u9aa4<\/h3>\n<\/p>\n<ol>\n<li><strong>\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570<\/strong>\uff0c\u5b83\u5c06\u4f5c\u4e3a\u56de\u8c03\u51fd\u6570\u4f20\u9012\u3002<\/li>\n<li><strong>\u5b9a\u4e49\u53e6\u4e00\u4e2a\u6267\u884c\u64cd\u4f5c\u7684\u51fd\u6570<\/strong>\uff0c\u5b83\u63a5\u53d7\u56de\u8c03\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u3002<\/li>\n<li>\u5728\u7b2c\u4e8c\u4e2a\u51fd\u6570\u5185\u90e8\uff0c\u5728\u9002\u5f53\u7684\u65f6\u523b\u8c03\u7528\u56de\u8c03\u51fd\u6570\u3002<\/li>\n<\/ol>\n<p><h3>\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u7684\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u5728JavaScript\u4e2d\uff0c\u4e8b\u4ef6\u76d1\u542c\u662f\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u7684\u4e00\u4e2a\u5e38\u89c1\u573a\u666f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u6765\u54cd\u5e94\u70b9\u51fb\u4e8b\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">\/\/ \u5b9a\u4e49\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\uff0c\u5f53\u70b9\u51fb\u4e8b\u4ef6\u53d1\u751f\u65f6\u6267\u884c<\/p>\n<p>function handleClick() {<\/p>\n<p>    console.log(&quot;Button was clicked!&quot;);<\/p>\n<p>}<\/p>\n<p>\/\/ \u5c06\u56de\u8c03\u51fd\u6570\u7ed1\u5b9a\u5230\u70b9\u51fb\u4e8b\u4ef6<\/p>\n<p>document.getElementById(&quot;myButton&quot;).addEventListener(&quot;click&quot;, handleClick);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>handleClick<\/code>\u51fd\u6570\u4e0d\u4f1a\u7acb\u5373\u6267\u884c\u3002\u76f8\u53cd\uff0c\u5b83\u88ab\u4f20\u9012\u7ed9<code>addEventListener<\/code>\u65b9\u6cd5\uff0c\u5e76\u4e14\u53ea\u6709\u5728\u6309\u94ae\u88ab\u70b9\u51fb\u65f6\u624d\u4f1a\u6267\u884c\u3002\u8fd9\u5c31\u662f\u56de\u8c03\u51fd\u6570\u5728\u4e8b\u4ef6\u76d1\u542c\u4e2d\u7684\u5178\u578b\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u56de\u8c03\u51fd\u6570\u7684\u4f18\u52bf\u548c\u9650\u5236<\/h2>\n<\/p>\n<p><h3>\u4f18\u52bf<\/h3>\n<\/p>\n<ul>\n<li><strong>\u7075\u6d3b\u6027\u548c\u89e3\u8026<\/strong>\uff1a\u56de\u8c03\u51fd\u6570\u5141\u8bb8\u5c06\u7a0b\u5e8f\u7684\u4e0d\u540c\u90e8\u5206\u4fdd\u6301\u72ec\u7acb\uff0c\u4f7f\u5f97\u4ee3\u7801\u66f4\u6613\u4e8e\u6269\u5c55\u548c\u7ef4\u62a4\u3002<\/li>\n<li><strong>\u975e\u963b\u585e\u64cd\u4f5c<\/strong>\uff1a\u56de\u8c03\u673a\u5236\u652f\u6301\u975e\u963b\u585e\u64cd\u4f5c\uff0c\u8fd9\u5bf9\u4e8e\u63d0\u9ad8\u7a0b\u5e8f\u6027\u80fd\u548c\u54cd\u5e94\u6027\u81f3\u5173\u91cd\u8981\u3002<\/li>\n<\/ul>\n<p><h3>\u9650\u5236<\/h3>\n<\/p>\n<ul>\n<li><strong>\u56de\u8c03\u5730\u72f1<\/strong>\uff1a\u5728\u590d\u6742\u7684\u5e94\u7528\u4e2d\uff0c\u8fc7\u591a\u7684\u56de\u8c03\u51fd\u6570\u53ef\u80fd\u5bfc\u81f4\u4ee3\u7801\u96be\u4ee5\u9605\u8bfb\u548c\u7ef4\u62a4\uff0c\u8fd9\u79cd\u60c5\u51b5\u901a\u5e38\u88ab\u79f0\u4e3a\u201c\u56de\u8c03\u5730\u72f1\u201d\u3002<\/li>\n<li><strong>\u9519\u8bef\u5904\u7406\u56f0\u96be<\/strong>\uff1a\u5728\u591a\u5c42\u5d4c\u5957\u7684\u56de\u8c03\u51fd\u6570\u4e2d\uff0c\u9519\u8bef\u5904\u7406\u53ef\u80fd\u53d8\u5f97\u590d\u6742\u56f0\u96be\u3002<\/li>\n<\/ul>\n<p><p>\u603b\u7684\u6765\u8bf4\uff0c\u56de\u8c03\u51fd\u6570\u662f\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u4e5f\u6709\u5176\u5c40\u9650\u6027\u3002\u4e86\u89e3\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u548c\u7ba1\u7406\u56de\u8c03\u51fd\u6570\u5bf9\u4e8e\u5f00\u53d1\u9ad8\u6548\u3001\u53ef\u7ef4\u62a4\u7684\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u4ec0\u4e48\u662f\u56de\u8c03\u51fd\u6570\uff08callback\uff09\uff1f<\/strong><\/p>\n<p>\u56de\u8c03\u51fd\u6570\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u7f16\u7a0b\u6982\u5ff5\uff0c\u5728\u8bb8\u591a\u7f16\u7a0b\u8bed\u8a00\u548c\u6846\u67b6\u4e2d\u90fd\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u56de\u8c03\u51fd\u6570\u662f\u4e00\u79cd\u901a\u8fc7\u4f20\u9012\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u7684\u65b9\u5f0f\uff0c\u5728\u67d0\u4e9b\u7279\u5b9a\u4e8b\u4ef6\u53d1\u751f\u65f6\u81ea\u52a8\u8c03\u7528\u7684\u51fd\u6570\u3002\u4ee5JavaScript\u4e3a\u4f8b\uff0c\u5f53\u67d0\u4e2a\u5f02\u6b65\u64cd\u4f5c\u5b8c\u6210\u65f6\uff0c\u53ef\u4ee5\u8bbe\u5b9a\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\uff0c\u5728\u64cd\u4f5c\u5b8c\u6210\u540e\u81ea\u52a8\u6267\u884c\u56de\u8c03\u51fd\u6570\uff0c\u4ee5\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u7684\u7ed3\u679c\u3002<\/p>\n<p><strong>\u56de\u8c03\u51fd\u6570\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p>\u56de\u8c03\u51fd\u6570\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u5904\u7406\u5f02\u6b65\u64cd\u4f5c\u7684\u7ed3\u679c\u6216\u89e6\u53d1\u67d0\u4e9b\u7279\u5b9a\u4e8b\u4ef6\u4e4b\u540e\u7684\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u5728\u7f51\u9875\u5f00\u53d1\u4e2d\uff0c\u5f53\u7528\u6237\u70b9\u51fb\u67d0\u4e2a\u6309\u94ae\u540e\uff0c\u53ef\u4ee5\u8bbe\u5b9a\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\u6765\u5904\u7406\u6309\u94ae\u70b9\u51fb\u4e8b\u4ef6\uff0c\u5b9e\u73b0\u76f8\u5e94\u7684\u903b\u8f91\u3002\u56de\u8c03\u51fd\u6570\u8fd8\u5e38\u7528\u4e8e\u5904\u7406\u6587\u4ef6\u8bfb\u5199\u3001\u7f51\u7edc\u8bf7\u6c42\u3001\u5b9a\u65f6\u4efb\u52a1\u7b49\u573a\u666f\uff0c\u786e\u4fdd\u5728\u64cd\u4f5c\u5b8c\u6210\u540e\u80fd\u591f\u53ca\u65f6\u5904\u7406\u7ed3\u679c\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528\u56de\u8c03\u51fd\u6570\uff1f<\/strong><\/p>\n<p>\u5728\u5927\u591a\u6570\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u4f7f\u7528\u56de\u8c03\u51fd\u6570\u9700\u8981\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u9996\u5148\uff0c\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u4f5c\u4e3a\u56de\u8c03\u51fd\u6570\uff0c\u7528\u4e8e\u5904\u7406\u7279\u5b9a\u4e8b\u4ef6\u7684\u7ed3\u679c\uff1b\u5176\u6b21\uff0c\u901a\u8fc7\u8c03\u7528\u67d0\u4e2a\u51fd\u6570\u6216\u65b9\u6cd5\uff0c\u5e76\u5c06\u56de\u8c03\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u8fdb\u53bb\uff1b\u5f53\u4e8b\u4ef6\u89e6\u53d1\u6216\u64cd\u4f5c\u5b8c\u6210\u65f6\uff0c\u4f1a\u81ea\u52a8\u8c03\u7528\u56de\u8c03\u51fd\u6570\u8fdb\u884c\u5904\u7406\u3002\u4e3a\u4e86\u4f7f\u4ee3\u7801\u7ed3\u6784\u66f4\u6e05\u6670\u548c\u53ef\u7ef4\u62a4\uff0c\u53ef\u4ee5\u4f7f\u7528\u533f\u540d\u51fd\u6570\u6216\u7bad\u5934\u51fd\u6570\u6765\u5b9a\u4e49\u56de\u8c03\u51fd\u6570\uff0c\u4e5f\u53ef\u4ee5\u5c06\u56de\u8c03\u51fd\u6570\u5b9a\u4e49\u5728\u72ec\u7acb\u7684\u6a21\u5757\u4e2d\uff0c\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u91cd\u7528\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u56de\u8c03\u51fd\u6570\uff08Callback\uff09\u662f\u5728\u67d0\u4e2a\u7279\u5b9a\u7684\u4e8b\u4ef6\u53d1\u751f\u6216\u67d0\u4e2a\u6307\u5b9a\u7684\u65f6\u95f4\u70b9\u89e6\u53d1\u65f6\uff0c\u7531\u53e6\u5916\u4e00\u4e2a\u51fd\u6570\u6267\u884c\u7684\u51fd\u6570\u3002\u5b83\u4eec\u5728\u5f02 [&hellip;]","protected":false},"author":3,"featured_media":296002,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/295981"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=295981"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/295981\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/296002"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=295981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=295981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=295981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}