{"id":91007,"date":"2024-04-09T18:18:43","date_gmt":"2024-04-09T10:18:43","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/91007.html"},"modified":"2024-04-09T18:18:44","modified_gmt":"2024-04-09T10:18:44","slug":"javascript%e4%b8%ad%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e7%bb%91%e5%ae%9a%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/91007.html","title":{"rendered":"JavaScript\u4e2d\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\u7684\u65b9\u6cd5"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/02150757\/0bcc5df5-2a15-4058-a366-a13120442f63.webp\" alt=\"JavaScript\u4e2d\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\u7684\u65b9\u6cd5\" \/><\/p>\n<p><p>\u6570\u636e\u7ed1\u5b9a\u662f\u524d\u7aef\u5f00\u53d1\u4e2d\u7684\u4e00\u4e2a\u6838\u5fc3\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u5c06\u6570\u636e\u6a21\u578b\u4e0eUI\u754c\u9762\u7ed1\u5b9a\u5728\u4e00\u8d77\uff0c\u786e\u4fdd\u6570\u636e\u7684\u53d8\u5316\u80fd\u591f\u5b9e\u65f6\u53cd\u6620\u5230UI\u4e0a\u3002\u5728JavaScript\u4e2d\uff0c\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\u7684\u65b9\u6cd5\u4e3b\u8981\u6709<strong>\u624b\u52a8\u64cd\u4f5cDOM\u3001\u53d1\u5e03-\u8ba2\u9605\u6a21\u5f0f\u3001\u89c2\u5bdf\u8005\u6a21\u5f0f<\/strong>\u3001\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u5e93\u6216\u6846\u67b6\u3002<strong>Vue.js\u3001React.js<\/strong>\u548c<strong>Angular.js<\/strong>\u7b49\u6846\u67b6\u90fd\u4e3a\u6570\u636e\u7ed1\u5b9a\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<p><p>\u624b\u52a8\u64cd\u4f5cDOM\u662f\u6700\u57fa\u7840\u7684\u6570\u636e\u7ed1\u5b9a\u65b9\u6cd5\uff0c\u867d\u7136\u76f4\u89c2\u4f46\u968f\u7740\u5e94\u7528\u7684\u590d\u6742\u5ea6\u4e0a\u5347\uff0c\u4ee3\u7801\u5c06\u5feb\u901f\u53d8\u5f97\u96be\u4ee5\u7ef4\u62a4\u3002\u89c2\u5bdf\u8005\u6a21\u5f0f\u5219\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u7cfb\u7edf\u3001\u81ea\u52a8\u5316\u7684\u6570\u636e\u7ed1\u5b9a\u65b9\u5f0f\uff0c\u8fd9\u79cd\u6a21\u5f0f\u4e2d\uff0c\u5f53\u6570\u636e\u53d8\u5316\u65f6\u81ea\u52a8\u901a\u77e5\u89c6\u56fe\u8fdb\u884c\u66f4\u65b0\u3002\u8fd9\u79cd\u81ea\u52a8\u5316\u7684\u901a\u77e5\u548c\u66f4\u65b0\u673a\u5236\uff0c\u51cf\u5c11\u4e86\u5927\u91cf\u624b\u52a8\u64cd\u4f5cDOM\u7684\u5de5\u4f5c\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u624b\u52a8\u64cd\u4f5cDOM<\/h3>\n<\/p>\n<p><p><strong>\u76f4\u63a5\u64cd\u4f5cDOM<\/strong>\u662f\u6570\u636e\u7ed1\u5b9a\u7684\u4e00\u79cd\u6700\u76f4\u89c2\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002\u5f00\u53d1\u8005\u9700\u8981\u76d1\u542c\u6570\u636e\u7684\u53d8\u5316\uff0c\u5e76\u624b\u52a8\u66f4\u65b0\u5230DOM\u4e2d\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u6570\u636e\u53d8\u5316\u76d1\u542c<\/strong><\/p>\n<p>\u5728JavaScript\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e8b\u4ef6\u76d1\u542c\u6216\u8005\u5b9a\u65f6\u5668\u68c0\u6d4b\u53bb\u5b9e\u73b0\u5bf9\u6570\u636e\u53d8\u5316\u7684\u76d1\u542c\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>addEventListener<\/code>\u53bb\u76d1\u542c\u8f93\u5165\u6846\u7684<code>change<\/code>\u4e8b\u4ef6\uff0c\u4ece\u800c\u5f97\u77e5\u6570\u636e\u4f55\u65f6\u53d1\u751f\u53d8\u5316\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u624b\u52a8\u66f4\u65b0DOM<\/strong><\/p>\n<p>\u5f53\u6570\u636e\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u5f00\u53d1\u8005\u9700\u8981\u901a\u8fc7JavaScript\u4ee3\u7801\u624b\u52a8\u67e5\u627eDOM\u5143\u7d20\uff0c\u5e76\u5bf9\u5176\u6267\u884c\u66f4\u65b0\u64cd\u4f5c\uff0c\u4f8b\u5982\u4f7f\u7528<code>document.getElementById().innerHTML<\/code>\u6216<code>textContent<\/code>\u7b49\u65b9\u6cd5\u6765\u66f4\u65b0DOM\u5143\u7d20\u7684\u5185\u5bb9\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u53d1\u5e03-\u8ba2\u9605\u6a21\u5f0f<\/h3>\n<\/p>\n<p><p><strong>\u53d1\u5e03-\u8ba2\u9605\u6a21\u5f0f<\/strong>\uff08Pub\/Sub\uff09\u662f\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\u7684\u4e00\u79cd\u8bbe\u8ba1\u6a21\u5f0f\uff0c\u5b83\u5b9a\u4e49\u4e86\u5bf9\u8c61\u95f4\u7684\u4e00\u79cd\u4e00\u5bf9\u591a\u7684\u5173\u7cfb\uff0c\u8ba9\u591a\u4e2a\u89c2\u5bdf\u8005\u5bf9\u8c61\u540c\u65f6\u76d1\u542c\u67d0\u4e00\u4e2a\u4e3b\u9898\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5b9e\u73b0\u53d1\u5e03-\u8ba2\u9605\u673a\u5236<\/strong><\/p>\n<p>\u8fd9\u4e2a\u6a21\u5f0f\u9700\u8981\u4e00\u4e2a\u53d1\u5e03\u8005\uff08Publisher\uff09\u548c\u591a\u4e2a\u8ba2\u9605\u8005\uff08Subscriber\uff09\uff0c\u5f53\u53d1\u751f\u4e86\u4e00\u4e2a\u7279\u5b9a\u7684\u4e8b\u4ef6\u6216\u8005\u6570\u636e\u6539\u53d8\u65f6\uff0c\u53d1\u5e03\u8005\u4f1a\u5e7f\u64ad\u901a\u77e5\u6240\u6709\u8ba2\u9605\u8be5\u4e8b\u4ef6\u7684\u8ba2\u9605\u8005\uff0c\u8ba2\u9605\u8005\u5219\u4f1a\u6267\u884c\u76f8\u5e94\u7684\u54cd\u5e94\u51fd\u6570\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u65b0\u89c6\u56fe<\/strong><\/p>\n<p>\u5728\u54cd\u5e94\u51fd\u6570\u4e2d\uff0c\u8ba2\u9605\u8005\u53ef\u4ee5\u5bf9\u89c6\u56fe\u8fdb\u884c\u66f4\u65b0\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u64cd\u4f5cDOM\uff0c\u800c\u662f\u5b9a\u4e49\u597d\u6570\u636e\u4e0e\u89c6\u56fe\u4e4b\u95f4\u7684\u7ed1\u5b9a\u5173\u7cfb\uff0c\u5269\u4f59\u7684\u5de5\u4f5c\u7531\u53d1\u5e03-\u8ba2\u9605\u673a\u5236\u81ea\u52a8\u5b8c\u6210\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u89c2\u5bdf\u8005\u6a21\u5f0f<\/h3>\n<\/p>\n<p><p><strong>\u89c2\u5bdf\u8005\u6a21\u5f0f<\/strong>\u662f\u4e00\u79cd\u5bf9\u8c61\u884c\u4e3a\u6a21\u5f0f\uff0c\u5b83\u5b9a\u4e49\u4e86\u5bf9\u8c61\u4e4b\u95f4\u7684\u4e00\u79cd\u4e00\u5bf9\u591a\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u5f53\u4e00\u4e2a\u5bf9\u8c61\u7684\u72b6\u6001\u53d1\u751f\u6539\u53d8\u65f6\uff0c\u6240\u6709\u4f9d\u8d56\u4e8e\u5b83\u7684\u5bf9\u8c61\u90fd\u5c06\u5f97\u5230\u901a\u77e5\u5e76\u81ea\u52a8\u66f4\u65b0\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5b9a\u4e49\u89c2\u5bdf\u8005\u548c\u88ab\u89c2\u5bdf\u8005<\/strong><\/p>\n<p>\u5728\u89c2\u5bdf\u8005\u6a21\u5f0f\u4e2d\uff0c\u89c2\u5bdf\u8005\uff08Observer\uff09\u8d1f\u8d23\u5bf9\u6570\u636e\u7684\u53d8\u5316\u8fdb\u884c\u54cd\u5e94\uff0c\u800c\u88ab\u89c2\u5bdf\u8005\uff08Observable\uff09\u5219\u8d1f\u8d23\u7ef4\u62a4\u89c2\u5bdf\u8005\u5217\u8868\u5e76\u5728\u6570\u636e\u53d8\u5316\u65f6\u901a\u77e5\u89c2\u5bdf\u8005\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u81ea\u52a8\u540c\u6b65\u66f4\u65b0<\/strong><\/p>\n<p>\u5f53\u88ab\u89c2\u5bdf\u8005\u7684\u6570\u636e\u53d1\u751f\u53d8\u5316\uff0c\u5b83\u4f1a\u81ea\u52a8\u901a\u77e5\u6240\u6709\u7684\u89c2\u5bdf\u8005\uff0c\u89c2\u5bdf\u8005\u5219\u6839\u636e\u6700\u65b0\u7684\u6570\u636e\u6765\u66f4\u65b0\u89c6\u56fe\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4f7f\u5f97\u6570\u636e\u548c\u89c6\u56fe\u4fdd\u6301\u540c\u6b65\uff0c\u800c\u5f00\u53d1\u8005\u5219\u65e0\u9700\u62c5\u5fc3\u6570\u636e\u5982\u4f55\u4f20\u64ad\u548c\u89c6\u56fe\u5982\u4f55\u6e32\u67d3\u7684\u7ec6\u8282\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u5e93\u6216\u6846\u67b6<\/h3>\n<\/p>\n<p><p>\u5728\u73b0\u4ee3\u524d\u7aef\u5f00\u53d1\u4e2d\uff0c\u901a\u5e38\u4f1a\u5229\u7528\u5df2\u6709\u7684\u5e93\u6216\u6846\u67b6\u6765\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\uff0c\u4f8b\u5982<strong>Vue.js<\/strong>\u3001<strong>React.js<\/strong>\u3001<strong>Angular.js<\/strong>\u7b49\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Vue.js<\/strong><\/p>\n<p>Vue.js\u662f\u4e00\u4e2a\u5b9e\u73b0\u4e86\u54cd\u5e94\u5f0f\u6570\u636e\u7ed1\u5b9a\u7684\u6e10\u8fdb\u5f0fJavaScript\u6846\u67b6\u3002\u5b83\u901a\u8fc7\u6570\u636e\u52ab\u6301\u7ed3\u5408\u53d1\u5e03\u8005-\u8ba2\u9605\u8005\u6a21\u5f0f\uff0c\u80fd\u591f\u5b9e\u73b0\u6570\u636e\u7684\u53cc\u5411\u7ed1\u5b9a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>React.js<\/strong><\/p>\n<p>React.js\u901a\u8fc7\u72b6\u6001\uff08state\uff09\u548c\u5c5e\u6027\uff08props\uff09\u6765\u63a7\u5236\u7ec4\u4ef6\u7684\u6e32\u67d3\u3002\u5b83\u5e76\u4e0d\u76f4\u63a5\u652f\u6301\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\uff0c\u800c\u662f\u5021\u5bfc\u5355\u5411\u6570\u636e\u6d41\uff0c\u4f46\u53ef\u4ee5\u901a\u8fc7\u63a7\u5236\u8868\u5355\u5143\u7d20\u7684\u72b6\u6001\u6765\u5b9e\u73b0\u7c7b\u4f3c\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Angular.js<\/strong><\/p>\n<p>Angular.js\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u673a\u5236\uff0c\u5728\u63a7\u5236\u5668\u5b9a\u4e49\u6a21\u578b\uff0c\u7136\u540e\u901a\u8fc7\u6307\u4ee4\u5982<code>ng-model<\/code>\u6765\u5b9e\u73b0\u6a21\u578b\u4e0e\u89c6\u56fe\u4e4b\u95f4\u7684\u81ea\u52a8\u540c\u6b65\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u7ed3\u8bba\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u6570\u636e\u7ed1\u5b9a\u662f\u73b0\u4ee3\u524d\u7aef\u6846\u67b6\u7684\u4e00\u4e2a\u91cd\u8981\u7279\u6027\uff0c\u5b83\u7b80\u5316\u4e86\u7528\u6237\u754c\u9762\u4e0e\u4e1a\u52a1\u6570\u636e\u4e4b\u95f4\u7684\u4ea4\u4e92\u3002\u9009\u62e9\u54ea\u79cd\u6570\u636e\u7ed1\u5b9a\u65b9\u6cd5\u53d6\u51b3\u4e8e\u9879\u76ee\u7684\u9700\u6c42\u3001\u5f00\u53d1\u56e2\u961f\u7684\u6280\u672f\u6808\u4ee5\u53ca\u5e94\u7528\u7684\u590d\u6742\u5ea6\u3002\u5728\u5c0f\u578b\u9879\u76ee\u6216\u7b80\u5355\u7684\u6570\u636e\u5c55\u793a\u4e2d\uff0c\u53ef\u80fd\u4f1a\u4f7f\u7528\u624b\u52a8\u64cd\u4f5cDOM\u7684\u65b9\u5f0f\uff0c\u4f46\u5728\u6784\u5efa\u5927\u578b\u3001\u590d\u6742\u7684\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u9009\u62e9\u4e00\u4e2a\u6210\u719f\u7684\u524d\u7aef\u6846\u67b6\u6216\u5e93\u6765\u5904\u7406\u6570\u636e\u7ed1\u5b9a\u4f1a\u66f4\u52a0\u6709\u6548\u3002<\/p>\n<\/p>\n<p><p>\u4e0d\u8bba\u54ea\u79cd\u65b9\u5f0f\uff0c<strong>\u4fdd\u6301\u6570\u636e\u548c\u89c6\u56fe\u4e4b\u95f4\u7684\u540c\u6b65\u3001\u786e\u4fdd\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027<\/strong>\u548c<strong>\u6027\u80fd\u4f18\u5316<\/strong>\u90fd\u662f\u6570\u636e\u7ed1\u5b9a\u5b9e\u73b0\u65f6\u9700\u8981\u8003\u8651\u7684\u6838\u5fc3\u8981\u7d20\u3002\u968f\u7740\u524d\u7aef\u6280\u672f\u7684\u4e0d\u65ad\u8fdb\u6b65\uff0c\u6570\u636e\u7ed1\u5b9a\u7684\u5b9e\u73b0\u4e5f\u8d8a\u6765\u8d8a\u9ad8\u6548\u548c\u667a\u80fd\u5316\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u53ef\u80fd\u6027\u548c\u4fbf\u5229\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4ec0\u4e48\u662fJavaScript\u4e2d\u7684\u6570\u636e\u7ed1\u5b9a\uff1f<\/strong><\/p>\n<p>JavaScript\u4e2d\u7684\u6570\u636e\u7ed1\u5b9a\u662f\u4e00\u79cd\u673a\u5236\uff0c\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u5c06\u6570\u636e\u6a21\u578b\u548c\u89c6\u56fe\uff08\u5982HTML\u5143\u7d20\uff09\u4e4b\u95f4\u5efa\u7acb\u5173\u8054\uff0c\u5e76\u786e\u4fdd\u5b83\u4eec\u59cb\u7ec8\u4fdd\u6301\u540c\u6b65\u66f4\u65b0\u3002\u5f53\u6570\u636e\u6a21\u578b\u7684\u503c\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u89c6\u56fe\u5c06\u81ea\u52a8\u66f4\u65b0\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002<\/p>\n<p><strong>2. JavaScript\u4e2d\u6709\u54ea\u4e9b\u5e38\u7528\u7684\u6570\u636e\u7ed1\u5b9a\u65b9\u6cd5\uff1f<\/strong><\/p>\n<p>\u5728JavaScript\u4e2d\uff0c\u6709\u51e0\u79cd\u4e0d\u540c\u7684\u6570\u636e\u7ed1\u5b9a\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u7279\u5b9a\u7684\u7528\u9014\u548c\u4f18\u52bf\u3002\u4ee5\u4e0b\u662f\u5176\u4e2d\u7684\u4e00\u4e9b\u5e38\u7528\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\u539f\u751f\u7ed1\u5b9a\uff1a\u901a\u8fc7addEventListener()\u65b9\u6cd5\u76d1\u542c\u6570\u636e\u53d8\u5316\u4e8b\u4ef6\uff0c\u5e76\u5728\u4e8b\u4ef6\u56de\u8c03\u51fd\u6570\u4e2d\u66f4\u65b0\u89c6\u56fe\u3002\u8fd9\u79cd\u65b9\u6cd5\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u4e0d\u9002\u7528\u4e8e\u5927\u578b\u5e94\u7528\u7a0b\u5e8f\u6216\u9700\u8981\u9891\u7e41\u66f4\u65b0\u7684\u573a\u666f\u3002<\/li>\n<li>\u53cc\u5411\u7ed1\u5b9a\u5e93\uff1a\u4f7f\u7528\u53cc\u5411\u7ed1\u5b9a\u5e93\uff08\u5982Vue.js\u6216AngularJS\uff09\u53ef\u4ee5\u66f4\u8f7b\u677e\u5730\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\u3002\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684API\u548c\u529f\u80fd\uff0c\u53ef\u4ee5\u81ea\u52a8\u5904\u7406\u6570\u636e\u6a21\u578b\u548c\u89c6\u56fe\u4e4b\u95f4\u7684\u540c\u6b65\u66f4\u65b0\u3002<\/li>\n<li>\u6570\u636e\u89c2\u5bdf\uff1a\u53ef\u4ee5\u4f7f\u7528JavaScript\u7684\u89c2\u5bdf\u8005\u6a21\u5f0f\u6765\u5b9e\u73b0\u6570\u636e\u7ed1\u5b9a\u3002\u901a\u8fc7\u5728\u6570\u636e\u6a21\u578b\u4e0a\u6ce8\u518c\u89c2\u5bdf\u8005\u5bf9\u8c61\uff0c\u5f53\u6570\u636e\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u89c2\u5bdf\u8005\u4f1a\u81ea\u52a8\u66f4\u65b0\u89c6\u56fe\u3002\u8fd9\u9700\u8981\u7f16\u5199\u81ea\u5b9a\u4e49\u4ee3\u7801\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u5927\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\u529b\u3002<\/li>\n<\/ul>\n<p><strong>3. \u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed1\u5b9a\u65b9\u6cd5\uff1f<\/strong><\/p>\n<p>\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed1\u5b9a\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u548c\u9879\u76ee\u89c4\u6a21\u3002\u5982\u679c\u4f60\u53ea\u9700\u8981\u7b80\u5355\u7684\u6570\u636e\u7ed1\u5b9a\uff0c\u5e76\u4e14\u4e0d\u60f3\u6dfb\u52a0\u989d\u5916\u7684\u4f9d\u8d56\u6216\u590d\u6742\u6027\uff0c\u4f7f\u7528\u539f\u751f\u7ed1\u5b9a\u53ef\u80fd\u662f\u6700\u597d\u7684\u9009\u62e9\u3002\u5982\u679c\u4f60\u5904\u7406\u7684\u662f\u5927\u578b\u5e94\u7528\u7a0b\u5e8f\u6216\u9700\u8981\u9891\u7e41\u66f4\u65b0\u7684\u573a\u666f\uff0c\u4f7f\u7528\u53cc\u5411\u7ed1\u5b9a\u5e93\u53ef\u80fd\u66f4\u52a0\u65b9\u4fbf\u548c\u9ad8\u6548\u3002\u5982\u679c\u4f60\u5e0c\u671b\u6709\u66f4\u5927\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\u529b\uff0c\u5e76\u4e14\u613f\u610f\u7f16\u5199\u81ea\u5b9a\u4e49\u4ee3\u7801\uff0c\u4f7f\u7528\u6570\u636e\u89c2\u5bdf\u53ef\u80fd\u662f\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002\u6700\u7ec8\u7684\u9009\u62e9\u5e94\u8be5\u57fa\u4e8e\u4f60\u7684\u9700\u6c42\u548c\u5bf9\u4e0d\u540c\u65b9\u6cd5\u7684\u4e86\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u6570\u636e\u7ed1\u5b9a\u662f\u524d\u7aef\u5f00\u53d1\u4e2d\u7684\u4e00\u4e2a\u6838\u5fc3\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u5c06\u6570\u636e\u6a21\u578b\u4e0eUI\u754c\u9762\u7ed1\u5b9a\u5728\u4e00\u8d77\uff0c\u786e\u4fdd\u6570\u636e\u7684\u53d8\u5316\u80fd\u591f\u5b9e\u65f6\u53cd\u6620\u5230UI [&hellip;]","protected":false},"author":3,"featured_media":91008,"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\/91007"}],"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=91007"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/91007\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/91008"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=91007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=91007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=91007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}