{"id":172079,"date":"2024-05-08T17:43:09","date_gmt":"2024-05-08T09:43:09","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/172079.html"},"modified":"2024-05-08T17:43:16","modified_gmt":"2024-05-08T09:43:16","slug":"angular-%e5%bc%80%e5%8f%91%e6%97%b6%e7%9a%84%e5%8f%8c%e5%90%91%e6%95%b0%e6%8d%ae%e7%bb%91%e5%ae%9a%e6%98%af%e6%80%8e%e4%b9%88%e8%bf%9b%e8%a1%8c%e6%95%b0%e6%8d%ae%e4%bc%a0%e8%be%93%e7%9a%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/172079.html","title":{"rendered":"angular \u5f00\u53d1\u65f6\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u662f\u600e\u4e48\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u7684"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27043512\/60415d10-9248-4e3b-932e-3a23b2108b26.webp\" alt=\"angular \u5f00\u53d1\u65f6\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u662f\u600e\u4e48\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u7684\" \/><\/p>\n<p><p>Angular\u5f00\u53d1\u4e2d\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u901a\u8fc7<strong>\u6a21\u677f\u7ed1\u5b9a\u8bed\u6cd5<\/strong>\u3001<strong>\u6307\u4ee4<\/strong>\u3001<strong>\u7ec4\u4ef6\u7c7b\u5c5e\u6027\u4e0e\u65b9\u6cd5<\/strong>\u4ee5\u53ca<strong>Angular\u6838\u5fc3\u6a21\u5757<\/strong>\u5171\u540c\u5b9e\u73b0\u7684\u3002\u7cbe\u51c6\u5730\u8bf4\uff0c\u5b83\u4f9d\u8d56\u4e8e<strong>\u5c5e\u6027\u7ed1\u5b9a<\/strong>(property binding)\u5411\u7ec4\u4ef6\u4f20\u9012\u6570\u636e\uff0c\u548c<strong>\u4e8b\u4ef6\u7ed1\u5b9a<\/strong>(event binding)\u4ece\u7ec4\u4ef6\u63a5\u6536\u7528\u6237\u8f93\u5165\u3002\u8fd9\u4e24\u79cd\u7ed1\u5b9a\u673a\u5236\u5171\u540c\u4f5c\u7528\u4e8e\u8868\u5355\u5143\u7d20\u65f6\uff0c\u5f62\u6210\u4e86Angular\u7684<strong>\u53cc\u5411\u6570\u636e\u7ed1\u5b9a<\/strong>(<code>[(ngModel)]<\/code>)\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c<strong>NgModel\u6307\u4ee4<\/strong>\u626e\u6f14\u4e86\u5173\u952e\u89d2\u8272\uff0c\u5b83\u5c06\u8868\u5355\u63a7\u4ef6\u7684\u503c\u4e0e\u7ec4\u4ef6\u4e2d\u7684\u5c5e\u6027\u7ed1\u5b9a\u5728\u4e00\u8d77\u3002\u6b64\u5916\uff0c<strong>$event\u5bf9\u8c61<\/strong>\u4e5f\u88ab\u7528\u6765\u5728\u89c6\u56fe\u5c42\u4e0e\u7ec4\u4ef6\u7c7b\u4e4b\u95f4\u4f20\u9012\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>Angular\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u51cf\u5c11\u4e86\u624b\u5de5\u64cd\u4f5cDOM\u7684\u9700\u6c42\uff0c\u56e0\u4e3a\u5f53\u7ec4\u4ef6\u6a21\u578b\u72b6\u6001\u66f4\u65b0\u65f6\uff0c\u89c6\u56fe\u4f1a\u81ea\u52a8\u66f4\u65b0\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002\u8fd9\u662f\u901a\u8fc7Angular\u7684<strong>\u53d8\u66f4\u68c0\u6d4b\u673a\u5236<\/strong>\u5b9e\u73b0\u7684\uff0c\u5b83\u4f1a\u76d1\u63a7\u7ec4\u4ef6\u72b6\u6001\u7684\u53d8\u5316\uff0c\u5e76\u5728\u5fc5\u8981\u65f6\u66f4\u65b0DOM\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n<\/p>\n<p><p>Angular\u901a\u8fc7<code>ngModel<\/code>\u6307\u4ee4\u5b9e\u73b0\u4e86\u7ecf\u5178\u7684MVVM\u6a21\u5f0f\u4e2d\u7684\u53cc\u5411\u7ed1\u5b9a\u529f\u80fd\u3002\u5177\u4f53\u6765\u8bf4\uff0c<code>ngModel<\/code>\u5c06\u6a21\u677f\u4e2d\u7684HTML\u63a7\u4ef6\u4e0e\u7ec4\u4ef6\u7c7b\u7684\u5c5e\u6027\u8fdb\u884c\u7ed1\u5b9a\u3002<\/p>\n<\/p>\n<p><h4>\u5c5e\u6027\u7ed1\u5b9a<\/h4>\n<\/p>\n<p><p>\u5728\u7ec4\u4ef6\u7c7b\u4e2d\u5b9a\u4e49\u4e00\u4e2a\u5c5e\u6027\uff0c\u7136\u540e\u5229\u7528\u5c5e\u6027\u7ed1\u5b9a\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u8fd9\u4e2a\u5c5e\u6027\u7684\u503c\u6620\u5c04\u5230\u6a21\u677f\u4e2d\u76f8\u5e94\u5143\u7d20\u7684\u5c5e\u6027\u4e0a\u3002\u5f53\u7ec4\u4ef6\u7684\u5c5e\u6027\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u89c6\u56fe\u4e0a\u7ed1\u5b9a\u7684\u5c5e\u6027\u4e5f\u4f1a\u968f\u4e4b\u66f4\u65b0\u3002<\/p>\n<\/p>\n<p><p><strong>\u793a\u4f8b\u4ee3\u7801<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;input [value]=&quot;componentProperty&quot; \/&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4e8b\u4ef6\u7ed1\u5b9a<\/h4>\n<\/p>\n<p><p>\u4e0e\u5c5e\u6027\u7ed1\u5b9a\u76f8\u5bf9\u5e94\u7684\u662f\u4e8b\u4ef6\u7ed1\u5b9a\uff0c\u5b83\u76d1\u542cDOM\u4e8b\u4ef6\u3002\u7528\u6237\u5728\u8868\u5355\u5143\u7d20\u4e0a\u7684\u64cd\u4f5c\u5c06\u4ea7\u751f\u4e8b\u4ef6\uff0c\u8fd9\u4e9b\u4e8b\u4ef6\u53ef\u4ee5\u7ed1\u5b9a\u5230\u7ec4\u4ef6\u7c7b\u7684\u65b9\u6cd5\u4e0a\uff0c\u7531\u65b9\u6cd5\u5904\u7406\u8fd9\u4e9b\u4e8b\u4ef6\u6765\u66f4\u65b0\u7ec4\u4ef6\u7684\u72b6\u6001\u3002<\/p>\n<\/p>\n<p><p><strong>\u793a\u4f8b\u4ee3\u7801<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;input (input)=&quot;onUserInput($event)&quot; \/&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u53cc\u5411\u7ed1\u5b9a\u7684\u7ed3\u5408<\/h4>\n<\/p>\n<p><p><code>ngModel<\/code>\u5b9e\u8d28\u4e0a\u7ed3\u5408\u4e86\u4ee5\u4e0a\u4e24\u79cd\u7ed1\u5b9a\u3002\u4f7f\u7528<code>[(ngModel)]<\/code>\u8bed\u6cd5\uff0c\u4fbf\u53ef\u4ee5\u5b9e\u73b0\u53cc\u5411\u7ed1\u5b9a\u3002\u7ec4\u4ef6\u7c7b\u5c5e\u6027\u7684\u4efb\u4f55\u53d8\u66f4\u90fd\u5c06\u7acb\u5373\u53cd\u6620\u5230\u89c6\u56fe\u4e0a\uff0c\u540c\u65f6\u89c6\u56fe\u4e0a\u7684\u4efb\u4f55\u53d8\u66f4\u4e5f\u4f1a\u540c\u6b65\u5230\u7ec4\u4ef6\u7c7b\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><p><strong>\u793a\u4f8b\u4ee3\u7801<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;input [(ngModel)]=&quot;componentProperty&quot; \/&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u53d8\u66f4\u68c0\u6d4b\u673a\u5236<\/h3>\n<\/p>\n<p><p>Angular\u7684\u53d8\u66f4\u68c0\u6d4b\u673a\u5236\u662f\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u7684\u6838\u5fc3\u3002\u8fd9\u4e00\u673a\u5236\u786e\u4fdd\u4e86\u89c6\u56fe\u4e0e\u7ec4\u4ef6\u72b6\u6001\u7684\u540c\u6b65\u3002<\/p>\n<\/p>\n<p><h4>\u810f\u503c\u68c0\u6d4b<\/h4>\n<\/p>\n<p><p>Angular\u4f7f\u7528\u4e86\u4e00\u79cd\u79f0\u4e3a<strong>\u810f\u503c\u68c0\u6d4b<\/strong>(dirty checking)\u7684\u6280\u672f\u6765\u68c0\u6d4b\u6a21\u578b\u7684\u53d8\u66f4\u3002\u6bcf\u5f53\u53d1\u751f\u8bf8\u5982\u7528\u6237\u8f93\u5165\u3001\u5b9a\u65f6\u5668\u89e6\u53d1\u3001HTTP\u54cd\u5e94\u7b49\u53ef\u80fd\u5f15\u8d77\u6a21\u578b\u72b6\u6001\u6539\u53d8\u7684\u5f02\u6b65\u4e8b\u4ef6\u65f6\uff0c\u53d8\u66f4\u68c0\u6d4b\u5c31\u4f1a\u88ab\u89e6\u53d1\u3002<\/p>\n<\/p>\n<p><h4>\u53d8\u66f4\u68c0\u6d4b\u7b56\u7565<\/h4>\n<\/p>\n<p><p>Angular\u63d0\u4f9b\u4e86\u4e24\u79cd\u53d8\u66f4\u68c0\u6d4b\u7b56\u7565\uff1a<strong>\u9ed8\u8ba4\u53d8\u66f4\u68c0\u6d4b\u7b56\u7565<\/strong>\u548c<strong>\u6309\u9700\u53d8\u66f4\u68c0\u6d4b\u7b56\u7565<\/strong>\u3002\u524d\u8005\u4f1a\u5728\u6bcf\u4e2a\u5f02\u6b65\u4e8b\u4ef6\u540e\u6267\u884c\u53d8\u66f4\u68c0\u6d4b\uff0c\u800c\u540e\u8005\u5219\u5141\u8bb8\u5f00\u53d1\u8005\u81ea\u5b9a\u4e49\u4f55\u65f6\u6267\u884c\u53d8\u66f4\u68c0\u6d4b\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u53cc\u5411\u7ed1\u5b9a\u4e0e\u7ec4\u4ef6\u4ea4\u4e92<\/h3>\n<\/p>\n<p><p>\u4e00\u822c\u800c\u8a00\uff0c\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u7528\u4e8e\u7ec4\u4ef6\u4e0e\u5176\u6a21\u677f\u89c6\u56fe\u4e4b\u95f4\u7684\u4ea4\u4e92\uff0c\u4f46\u5b83\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7ec4\u4ef6\u4e4b\u95f4\u7684\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<p><h4>\u5b50\u7ec4\u4ef6\u5230\u7236\u7ec4\u4ef6<\/h4>\n<\/p>\n<p><p>\u5229\u7528<strong>\u8f93\u5165\u5c5e\u6027<\/strong>(input property)\u548c<strong>\u8f93\u51fa\u5c5e\u6027<\/strong>(output property)\uff0c\u5b50\u7ec4\u4ef6\u53ef\u4ee5\u4e0e\u7236\u7ec4\u4ef6\u901a\u4fe1\u3002\u7236\u7ec4\u4ef6\u901a\u8fc7\u8f93\u5165\u5c5e\u6027\u5411\u5b50\u7ec4\u4ef6\u4f20\u9012\u6570\u636e\uff0c\u800c\u5b50\u7ec4\u4ef6\u901a\u8fc7\u8f93\u51fa\u5c5e\u6027\u53d1\u5c04\u4e8b\u4ef6\u7ed9\u7236\u7ec4\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>\u7236\u7ec4\u4ef6\u5230\u5b50\u7ec4\u4ef6<\/h4>\n<\/p>\n<p><p><strong>\u670d\u52a1<\/strong>(service)\u4e5f\u662f\u7ec4\u4ef6\u4ea4\u4e92\u4e2d\u5e38\u7528\u7684\u673a\u5236\uff0c\u5c24\u5176\u662f\u5f53\u8981\u8de8\u591a\u4e2a\u7ec4\u4ef6\u5171\u4eab\u6570\u636e\u65f6\u3002\u901a\u8fc7Angular\u7684\u670d\u52a1\u548c\u4f9d\u8d56\u6ce8\u5165\u7cfb\u7edf\uff0c\u7ec4\u4ef6\u53ef\u4ee5\u5171\u4eab\u540c\u4e00\u670d\u52a1\u5b9e\u4f8b\uff0c\u8fbe\u5230\u6570\u636e\u7684\u540c\u6b65\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u9ad8\u7ea7\u5e94\u7528\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u5728\u73b0\u4ee3Web\u5e94\u7528\u5f00\u53d1\u4e2d\uff0c\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u7684\u4f7f\u7528\u9700\u8981\u9075\u5faa\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\u4ee5\u4fdd\u8bc1\u6027\u80fd\u4e0e\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><h4>\u9650\u5236\u53cc\u5411\u7ed1\u5b9a\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u867d\u7136\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u5e26\u6765\u4e86\u6781\u5927\u7684\u65b9\u4fbf\uff0c\u4f46\u8fc7\u5ea6\u4f7f\u7528\u4e5f\u53ef\u80fd\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\u3002\u901a\u5e38\u5efa\u8bae\u5728\u8868\u5355\u63a7\u4ef6\u4e0a\u4f7f\u7528\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\uff0c\u800c\u5728\u5176\u4ed6\u573a\u666f\u4e2d\u4f7f\u7528\u5355\u5411\u6570\u636e\u6d41\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528\u5f02\u6b65\u7ba1\u9053<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u5f02\u6b65\u6570\u636e\u6d41\u65f6\uff0c<strong>\u5f02\u6b65\u7ba1\u9053<\/strong>(async pipe)\u53ef\u4ee5\u81ea\u52a8\u8ba2\u9605\u548c\u53d6\u6d88\u8ba2\u9605\u89c2\u5bdf\u5bf9\u8c61\uff0c\u7b80\u5316\u5f02\u6b65\u64cd\u4f5c\u7684\u53d8\u66f4\u68c0\u6d4b\u3002<\/p>\n<\/p>\n<p><h4>\u8ffd\u8e2a\u53d8\u66f4<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u4f18\u5316\u6027\u80fd\uff0cAngular\u63d0\u4f9b\u4e86<strong>TrackBy\u51fd\u6570<\/strong>\uff0c\u7528\u4e8e\u544a\u8bc9Angular\u5982\u4f55\u8ffd\u8e2a\u5217\u8868\u4e2d\u6bcf\u4e2a\u9879\u76ee\u7684\u8eab\u4efd\uff0c\u4ece\u800c\u4ec5\u91cd\u65b0\u6e32\u67d3\u53d8\u66f4\u7684\u9879\u76ee\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7ed3\u8bba\u4e0e\u5c55\u671b<\/h3>\n<\/p>\n<p><p>Angular\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u6781\u5927\u5730\u7b80\u5316\u4e86\u6570\u636e\u540c\u6b65\u7684\u590d\u6742\u5ea6\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\u3002\u968f\u7740Angular\u7248\u672c\u7684\u4e0d\u65ad\u8fed\u4ee3\uff0c\u8fd9\u4e00\u7279\u6027\u4e5f\u5728\u4e0d\u65ad\u4f18\u5316\uff0c\u4ee5\u9002\u5e94\u66f4\u52a0\u590d\u6742\u7684\u5e94\u7528\u573a\u666f\u3002\u5728\u672a\u6765\u7684\u5f00\u53d1\u5b9e\u8df5\u4e2d\uff0c\u5408\u7406\u5229\u7528\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u53ca\u5176\u76f8\u5173\u7684\u6838\u5fc3\u6982\u5ff5\uff0c\u5c06\u5bf9\u5f00\u53d1\u9ad8\u8d28\u91cf\u7684Angular\u5e94\u7528\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<ul>\n<li><strong>\u4ec0\u4e48\u662fAngular\u4e2d\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\uff1f<\/strong> \u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u662f\u6307\u5728Angular\u5f00\u53d1\u4e2d\uff0c\u901a\u8fc7\u4f7f\u7528\u7279\u5b9a\u7684\u8bed\u6cd5\u548c\u673a\u5236\u6765\u5b9e\u73b0\u89c6\u56fe\u548c\u6570\u636e\u6a21\u578b\u4e4b\u95f4\u7684\u5b9e\u65f6\u540c\u6b65\u3002\u8fd9\u610f\u5473\u7740\u5f53\u6570\u636e\u6a21\u578b\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u89c6\u56fe\u4f1a\u81ea\u52a8\u66f4\u65b0\uff1b\u540c\u65f6\uff0c\u5f53\u7528\u6237\u5728\u89c6\u56fe\u4e0a\u8fdb\u884c\u64cd\u4f5c\u65f6\uff0c\u6570\u636e\u6a21\u578b\u4e5f\u4f1a\u8ddf\u968f\u66f4\u65b0\u3002<\/li>\n<li><strong>\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u662f\u5982\u4f55\u4f20\u8f93\u6570\u636e\u7684\uff1f<\/strong> \u5728Angular\u4e2d\uff0c\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u901a\u8fc7\u4f7f\u7528ngModel\u6307\u4ee4\u6765\u5b9e\u73b0\u3002\u5f53ngModel\u4e0e\u8868\u5355\u63a7\u4ef6\uff08\u6bd4\u5982input\u3001textarea\u7b49\uff09\u7ed1\u5b9a\u65f6\uff0c\u5b83\u4f1a\u76d1\u542c\u8868\u5355\u63a7\u4ef6\u4e0a\u7684\u8f93\u5165\u4e8b\u4ef6\uff0c\u5e76\u5c06\u7528\u6237\u8f93\u5165\u7684\u503c\u5b9e\u65f6\u4f20\u8f93\u5230\u5173\u8054\u7684\u6570\u636e\u6a21\u578b\u4e2d\u3002\u540c\u65f6\uff0c\u5f53\u6570\u636e\u6a21\u578b\u7684\u503c\u6539\u53d8\u65f6\uff0cngModel\u4f1a\u5c06\u65b0\u7684\u503c\u4f20\u9012\u7ed9\u5173\u8054\u7684\u8868\u5355\u63a7\u4ef6\uff0c\u4ece\u800c\u66f4\u65b0\u89c6\u56fe\u4e0a\u7684\u663e\u793a\u3002<\/li>\n<li><strong>\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u6709\u54ea\u4e9b\u4f18\u52bf\uff1f<\/strong> \u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u7684\u4f18\u52bf\u5728\u4e8e\u7b80\u5316\u4e86\u5f00\u53d1\u8fc7\u7a0b\u548c\u4ee3\u7801\u7ed3\u6784\u3002\u4f20\u7edf\u7684\u5355\u5411\u6570\u636e\u7ed1\u5b9a\u9700\u8981\u624b\u52a8\u76d1\u542c\u548c\u5904\u7406\u6570\u636e\u53d8\u5316\uff0c\u800c\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u80fd\u591f\u81ea\u52a8\u5904\u7406\u6570\u636e\u7684\u540c\u6b65\uff0c\u51cf\u5c11\u4e86\u5f88\u591a\u5197\u4f59\u7684\u4ee3\u7801\u3002\u6b64\u5916\uff0c\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u8fd8\u63d0\u9ad8\u4e86\u7528\u6237\u4f53\u9a8c\uff0c\u7528\u6237\u5728\u64cd\u4f5c\u89c6\u56fe\u65f6\uff0c\u80fd\u591f\u5b9e\u65f6\u770b\u5230\u6570\u636e\u7684\u53d8\u5316\uff0c\u589e\u52a0\u4e86\u4ea4\u4e92\u6027\u548c\u5b9e\u65f6\u6027\u3002\u603b\u7684\u6765\u8bf4\uff0c\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u5728Angular\u5f00\u53d1\u4e2d\u975e\u5e38\u91cd\u8981\u4e14\u6709\u5f88\u591a\u5b9e\u9645\u5e94\u7528\u7684\u4f18\u52bf\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Angular\u5f00\u53d1\u4e2d\u7684\u53cc\u5411\u6570\u636e\u7ed1\u5b9a\u901a\u8fc7\u6a21\u677f\u7ed1\u5b9a\u8bed\u6cd5\u3001\u6307\u4ee4\u3001\u7ec4\u4ef6\u7c7b\u5c5e\u6027\u4e0e\u65b9\u6cd5\u4ee5\u53caAngular\u6838\u5fc3\u6a21\u5757\u5171\u540c\u5b9e\u73b0\u7684 [&hellip;]","protected":false},"author":3,"featured_media":172089,"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\/172079"}],"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=172079"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/172079\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/172089"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=172079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=172079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=172079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}