{"id":344591,"date":"2021-02-14T06:09:22","date_gmt":"2021-02-13T22:09:22","guid":{"rendered":"http:\/\/4563.org\/?p=344591"},"modified":"2021-02-14T06:09:22","modified_gmt":"2021-02-13T22:09:22","slug":"%e6%9c%80%e8%bf%91%e5%86%99%e4%bb%a3%e7%a0%81%e6%84%9f%e8%a7%89%e5%83%8f%e6%98%af%e6%86%8b%e7%9d%80%e4%b8%80%e5%8f%a3%e9%97%b7%e6%b0%94%e5%9c%a8%e5%86%99","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=344591","title":{"rendered":"\u6700\u8fd1\u5199\u4ee3\u7801\u611f\u89c9\u50cf\u662f\u618b\u7740\u4e00\u53e3\u95f7\u6c14\u5728\u5199"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6700\u8fd1\u5199\u4ee3\u7801\u611f\u89c9\u50cf\u662f\u618b\u7740\u4e00\u53e3\u95f7\u6c14\u5728\u5199               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Zhuzhuchenyan <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4e0d\u77e5\u9053\u5404\u4f4d\u6709\u6ca1\u6709\u7c7b\u4f3c\u7684\u611f\u53d7\uff0c<\/p>\n<p>\u7ed9\u5927\u5bb6\u4e00\u4e2a\u590d\u73b0\u7684\u60c5\u5883\uff1a<\/p>\n<p>\u4e00\u4e2a\u4efb\u52a1\u62c6\u5206\u6210\u4e86\u5341\u51e0\u4e2a\u5b50\u4efb\u52a1\u6309\u987a\u5e8f\u6162\u6162\u5b8c\u6210\uff0c\u5728\u5199\u8fd9\u4e9b\u5b50\u4efb\u52a1\u7684\u65f6\u5019\u5c31\u611f\u89c9\u618b\u7740\u4e00\u53e3\u95f7\u6c14\uff0c\u611f\u89c9\u8981\u5feb\u70b9\u628a\u4e8b\u60c5\u505a\u5b8c\u53c8\u611f\u89c9\u770b\u4e0d\u5230\u5934\u3002<\/p>\n<p>\u91cd\u70b9\u662f\u770b\u4e0d\u5230\u4efb\u52a1\u5b8c\u6210\u5e0c\u671b\u7684\u7edd\u671b\u611f\u548c\u4efb\u52a1\u8981\u5feb\u70b9\u505a\u5b8c\u7684\u7d27\u8feb\u611f\u4e24\u8005\u878d\u5408\u4ea7\u751f\u7684\u4ee5\u6211\u7684\u6587\u5b66\u6c34\u5e73\u65e0\u6cd5\u63cf\u8ff0\u7684\u5fc3\u6001\uff0c\u5176\u5916\u5728\u8868\u73b0\u5c31\u662f\u5199\u4ee3\u7801\u5c31\u50cf\u548c\u81ea\u5df1\u751f\u95f7\u6c14\u4e00\u6837\uff0c\u4e45\u800c\u4e45\u4e4b\u771f\u7684\u6709\u4e00\u79cd\u5598\u4e0d\u4e0a\u6c14\u7684\u611f\u89c9\uff0c\u5c31\u6bd4\u5982\u6211\u73b0\u5728\u5c31\u611f\u89c9\u5fc5\u987b\u8981\u5927\u53e3\u547c\u5438<\/p>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6700\u8fd1\u7684\u788e\u788e\u5ff5\uff0c\u4eca\u5929\u5076\u5c14\u770b\u540c\u4e8b\u5199\u7684\u4ee3\u7801\u6709\u70b9\u96be\u53d7\uff0c\u80cc\u666f\u662f Angular \u548c TS\uff0c<\/p>\n<pre><code>_isMultiple: boolean;  get multiple(): boolean {     return this._isMultiple; } @Input() set multiple(value: boolean) {     this._isMultiple = (value != null &amp;&amp; String(value)!=='false') } <\/code><\/pre>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u662f\u4e3a\u4e00\u4e2a\u7ec4\u4ef6\u670d\u52a1\u7684\uff0c\u8fd9\u4e2a\u7ec4\u4ef6\u4ed6\u5927\u6982\u5e0c\u671b\u88ab\u8fd9\u4e48\u8c03\u7528<\/p>\n<pre><code>&lt;component multiple&gt; &lt;\/component&gt; <\/code><\/pre>\n<p>\u4ed6\u7684\u7406\u7531\u662f\u8fd9\u4e2a\u7ec4\u4ef6\u770b\u8d77\u6765\u662f\u4e00\u4e2a\u53ef\u4ee5\u652f\u6301\u591a\u9009\u7684\u4e0b\u62c9\u5217\u8868\u9009\u62e9\u7ec4\u4ef6\uff0c\u6240\u4ee5\u9009\u62e9\u4f7f\u7528 html5 \u6807\u51c6\u91cc multiple \u5c5e\u6027\u6765\u8ba9\u8fd9\u4e2a\u7ec4\u4ef6\u7684\u8c03\u7528\u65b9\u5f0f<strong>\u770b\u8d77\u6765<\/strong>\u548c\u539f\u751f input type=file \u4e00\u81f4<\/p>\n<p>\u6211\u4e3a\u4ec0\u4e48\u89c9\u5f97\u96be\u53d7\u5462\uff0c\u56e0\u4e3a\u611f\u89c9\u4ed6<code>@Input<\/code>\u90a3\u884c\u7684\u5199\u6cd5\u8d64\u88f8\u88f8\u7684\u628a<code>boolean<\/code>\u5f53<code>any<\/code>\u6765\u7528\u4e86\uff0c\u6240\u4ee5\u6211\u5efa\u8bae\u4ed6\u5c06\u7ec4\u4ef6\u7684\u8c03\u7528\u65b9\u5f0f\u6539\u4e3a<\/p>\n<pre><code>&lt;component multiple=\u201ctrue\u201d&gt; &lt;\/component&gt; <\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u6ca1\u5fc5\u8981\u505a\u989d\u5916\u7684\u5de5\u4f5c\u4e86<\/p>\n<p>\u4ed6\u8ddf\u6211\u8bf4\u6211\u73b0\u5728\u505a\u7684\u662f\u4e00\u4e2a select \u7ec4\u4ef6\uff0c\u8ba9\u4ed6\u548c\u539f\u751f\u7684\u8c03\u7528\u65b9\u5f0f\u4e00\u81f4\u662f\u4e00\u4e2a\u6b63\u5e38\u9700\u6c42\u5427\uff1f<\/p>\n<p>Fine\uff0c\u6211\u7684\u60f3\u6cd5\u5f88\u7b80\u5355\uff0c\u4e0d\u6c42\u4ed6\u6539\u5176\u4ed6\u4e1c\u897f\uff0c\u628a<code>boolean<\/code>\u6539\u6210<code>any<\/code>\u5c31\u884c\uff0c\u6211\u4e5f\u5728\u5176\u4ed6\u5e93\u91cc\u89c1\u8fc7\u7c7b\u4f3c\u7528\u6cd5\uff0c\u5c31\u4e0d\u63d0\u6539\u6210<code>string | boolean | undefined<\/code>\u4e86\uff0c\u5c31\u662f\u4e0d\u613f\u610f\u52a8\uff0c\u8bf4\u5b9e\u5728\u4e0d\u884c\u6211\u52a0\u4e2a\u6ce8\u91ca\u597d\u5566\u3002<\/p>\n<p>\u6211\u4e5f\u4e0d\u9009\u62e9\u548c\u4ed6\u729f\uff0c\u5de5\u4f5c\u800c\u5df2\uff0c\u6211\u4eec\u7ec4\u4e5f\u6ca1\u6709\u4e00\u4e2a\u62cd\u677f\u7684 tech lead\uff0c\u5435\u6765\u5435\u53bb\u8c01\u90fd\u65e0\u6cd5\u8bf4\u670d\u5bf9\u65b9\u3002<\/p>\n<p>\u611f\u89c9\u6709\u70b9\u6d41\u6c34\u8d26\u4e86\uff0c\u611f\u89c9\u6ca1\u6709 tech lead \u7684\u56e2\u961f\u4e5f\u662f\u6211\u751f\u95f7\u6c14\u7684\u5bfc\u706b\u7d22\u4e4b\u4e00\uff0c\u51e0\u4e2a\u5f00\u53d1\u8c01\u90fd\u6709\u81ea\u5df1\u4e00\u5957\u505a\u4e8b\u51c6\u5219\uff0c\u7c7b\u4f3c\u7684\u4e89\u7aef\u6bcf\u5929\u90fd\u6709\uff0c\u5404\u4f4d\u662f\u600e\u4e48\u6392\u89e3\u8fd9\u79cd\u5fc3\u60c5\u7684\u5462<\/p>\n<p>\u6731\u6731<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>31<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5313706\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : thedrwu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6216\u8bb8\u4e3b\u9700\u8981\u53bb\u5ea6\u4e2a\u5047\uff0c\u6d77\u8fb9\u3001\u6c99\u6ee9\u30015 \u661f\u9152\u5e97\uff0c\u4ec0\u4e48\u90fd\u4e0d\u7528\u60f3\u7684\u90a3\u79cd\u3002<br \/>\u7136\u800c\u8f6c\u773c\u4e00\u770b\uff0c\u4e00\u5e74\u6700\u5927\u7684\u5047\u671f\u624d\u521a\u521a\u8fc7\u53bb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313707\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : meepo3927 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u554a \uff0c \u5e74\u8fc7\u5b8c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313708\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : l00t <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5fc3\u6001\u95ee\u9898\uff0c\u4f60\u7126\u8651\u4e86\u3002\u8c03\u6574\u4e0b\u5fc3\u6001\u5c31\u597d\uff0c\u8981\u8bb0\u4f4f\u6d3b\u662f\u516c\u53f8\u7684\uff0c\u505a\u4e8b\u60c5\u4e0d\u8981\u6025\uff0c\u5c31\u7b97\u803d\u8bef\u4e86\u4e5f\u662f\u516c\u53f8\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\u4e8b\uff0c\u771f\u6709 tech leader \u4e5f\u672a\u5fc5\u6709\u7528\uff0c\u8981\u662f tech leader \u6bcf\u6b21\u90fd\u652f\u6301\u4f60\u7684\u540c\u4e8b\u4e0d\u652f\u6301\u4f60\u7684\u8bdd\uff0c\u4f60\u4f30\u8ba1\u66f4\u90c1\u95f7\u3002\u8981\u5c0a\u91cd\u522b\u4eba\u7684\u505a\u4e8b\u51c6\u5219\uff0c\u8fd9\u79cd\u7ec6\u679d\u672b\u8282\u4e0a\u7684\u4e1c\u897f\u8bf4\u7a7f\u4e86\u5c31\u662f\u4e2a\u5ba1\u7f8e\u95ee\u9898\uff0c\u5076\u5c14\u63d0\u610f\u89c1\u53ef\u4ee5\uff0c\u4f46\u662f\u4e0d\u8981\u8fc7\u591a\u5e72\u6d89\u522b\u4eba\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313709\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gdtdpt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u592a\u660e\u767d\u4e00\u4e2a any \u4e0d any \u7684\u4e3a\u5565\u8fd9\u4e48\u7ea0\u7ed3\uff0c\u5982\u679c\u771f\u8981\u5f53\u6210 boolean \u6765\u7528\uff0c\u90a3\u8c03\u7528\u65b9\u5f0f\u5e94\u8be5\u662f<br \/>&lt;component [multiple]=\u201ctrue\u201d&gt; &lt;\/component&gt;<br \/>\u4e0d\u52a0\u4e2d\u62ec\u53f7\u662f string<\/p>\n<p>\u524d\u7aef\u73af\u5883\u4e0b ts \u5728\u6211\u770b\u6765\u5c31\u662f\u628a js \u5305\u88c5\u4e86\u4e00\u5c42\u8bed\u6cd5\u7cd6\u800c\u5df2\uff0c\u5f88\u591a\u60c5\u51b5\u4e0b\u6ca1\u6cd5\u4e0d any\uff0c\u771f\u8981\u6240\u6709\u7c7b\u578b\u786e\u5b9a\u90a3\u5199\u8d77\u6765\u8981\u7d2f\u6b7b\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313710\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aw2350 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u5fc5\u8981\u94bb\u725b\u89d2\u5c16\u8f83\u771f\uff0c\u6253\u4e2a\u5de5\u800c\u5df2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313711\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : towry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u4eba\u5bb6\u5199\u6cd5\u6ca1\u5565\u95ee\u9898\uff0c\u5185\u90e8\u5c01\u88c5\u7684\u597d\u4e00\u70b9\uff0c\u5916\u90e8\u8c03\u7528\u8f7b\u677e\u4e00\u70b9\u3002<\/p>\n<p>\u6216\u8005\u505a\u4e00\u4e2a\u7c7b\u4f3c vue \u7684 prop type \u68c0\u67e5\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313712\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : niucility <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00\u53d1\u89c4\u8303\u8fd8\u662f\u8981\u5c3d\u91cf\u7edf\u4e00\u7684.<br \/>\u731c\u6d4b\u4f60\u751f\u95f7\u6c14\u548c\u8ba4\u4e3a\u6c9f\u901a\u6210\u672c\u592a\u9ad8\u6709\u5173\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangkun025 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7ba1\u7406\u548c\u6280\u672f\u5e94\u8be5\u5206\u79bb\u3002<br \/>\u8ba9\u7ba1\u7406\u8005\u627f\u62c5\u8fd9\u90e8\u5206\u7684\u538b\u529b\u3002<\/p>\n<p>\u6280\u672f\u5c31\u4e13\u5fc3\u5904\u7406\u6280\u672f\u95ee\u9898\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wxw752 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u770b\u6211\u5199\u7684\u4ee3\u7801\u4f60\u80fd\u6c14\u6b7b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313715\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Yano <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u6709 tech lead \u4e5f\u4e0d\u4e00\u5b9a\u597d\uff0c\u4f60\u8ba4\u4e3a tech leader \u662f\u5b8c\u7f8e\u7684\uff0c\u4f46\u662f\u53ef\u80fd\u95ee\u9898\u66f4\u591a\u3002\u4eb2\u8eab\u7ecf\u9a8c\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pancl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u80f8\u95f7\u53ef\u4e0d\u662f\u5c0f\u4e8b\uff0c\u4e0d\u4e00\u5199\u4ee3\u7801\u8fd8\u4f1a\uff0c\u5f97\u6ce8\u610f\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SmiteChow <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u4e0d\u662f leader\uff0c\u4f60\u53ef\u4ee5\u5411\u4e0a\u53cd\u9988\u4f46\u4e0d\u80fd\u505a\u51b3\u5b9a\u3002<br \/>\u5982\u679c\u4f60\u662f\u88ab\u6307\u5b9a\u7684 Reviewer\uff0c\u4f60\u53ef\u4ee5\u62d2\u7edd\u7ed9\u51fa RTM \u7684\u6307\u4ee4\u3002<\/p>\n<p>\u98ce\u683c\u6ca1\u7edf\u4e00\u5bf9\u4f60\u4e2a\u4f53\u6765\u8bb2\u4e0d\u662f\u95ee\u9898\uff0c\u5bf9\u7ec4\u7ec7\u6765\u8bb2\u624d\u662f\u95ee\u9898\uff0c\u6240\u4ee5\u4f60\u6709\u70b9\u7687\u4e0a\u4e0d\u6025\u592a\u76d1\u6025\u7684\u7ba1\u95f2\u4e8b\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kasumi20 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a boolean \u5f53 any \u6765\u7528\uff0c\u4f60\u5374\u8981\u628a boolean \u6539\u6210 string                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : newtype0092 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wxw752 \u770b\u7740\u4f60\u7684\u5934\u50cf\u5c31\u597d\u50cf\u4f60\u5728\u5bf9 LZ \u8bf4\uff1a\u201c\u60f3\u8ba9\u6211\u6539\uff1f\u5414\u5c4e\u5566\u4f60\uff01\u201d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313720\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 12tall <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u66fe\u7ecf\u6709\u4e00\u6bb5\u65f6\u95f4\u53ea\u80fd\u5728\u540e\u534a\u591c\u624d\u80fd\u5e73\u590d\u5fc3\u60c5\u5199\u9879\u76ee\u3002\u611f\u89c9\u7a0d\u5fae\u5f3a\u52bf\u4e00\u4e9b\u3001\u8981\u4e48\u5c31\u5e72\u8106\u653e\u7f8a\u3002\u4e0a\u8bf4\u7684\u597d\u597d\u4f11\u606f\u4e00\u4e0b\u662f\u975e\u5e38\u5fc5\u987b\u7684\uff01\uff01\uff01\u6211\u5f53\u65f6\u662f\u9879\u76ee\u5306\u5306\u7ed3\u675f\u5c31\u6362\u4e86\u5751\u3002<br \/>\uff08\u5ffd\u7136\u5728\u952e\u76d8\u4e0a\u53d1\u73b0\u4e86\u4e00\u6839\u767d\u5934\u53d1\uff0c\u5fc3\u75bc\u81ea\u5df1\u4e00\u5206\u949f\uff09                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313721\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangtian2020 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u662f\u516c\u53f8\u552f\u4e00\u7684\u524d\u7aef\uff0c\u5fc3\u60c5\u4e0d\u597d\u7684\u65f6\u5019\u53d8\u91cf\u547d\u540d\u559c\u6b22\u4ee5 fk \u5f00\u5934<\/p>\n<p>anyscript \u52a8\u6001\u7c7b\u578b\u4e07\u5c81                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313722\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Zhuzhuchenyan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u8c22\u5404\u4f4d\uff0c\u54ce\u8fd9\u4ef6\u4e8b\u60c5\u4e0a\u53ef\u80fd\u548c\u8282\u540e\u7126\u8651\u4e5f\u6709\u5173\u7cfb\uff0c\u8ba9\u6211\u5f53\u65f6\u6709\u70b9\u94bb\u725b\u89d2\u5c16\u4e86\uff0c\u5728\u6ca1\u6709\u4e00\u4e2a\u65e2\u5b9a\u89c4\u8303\u7684\u65f6\u5019\uff0c\u8fd8\u662f\u8981\u5c0a\u91cd\u4ed6\u4eec\u5199\u4ee3\u7801\u7684\u65b9\u5f0f<\/p>\n<p>\u6bd5\u7adf\u516c\u53f8\u7684\u91cd\u5fc3\u8fd8\u662f\u5728\u505a\u6e38\u620f\u4e0a\uff0c\u5bf9\u6211\u4eec\u8fd9\u79cd\u8fb9\u7f18\u652f\u6301\u90e8\u95e8\u7684\u6280\u672f\u6295\u5165\u4e0d\u662f\u5f88\u91cd\u89c6\uff0c\u54ce\u4e60\u60ef\u4e86\u5c31\u597d<\/p>\n<p>\u53ef\u80fd\u662f\u6211\u592a\u61a7\u61ac\u4e0a\u5934\u6709\u4e00\u4e2a\u7ba1\u4e8b\u7684\u4e86\uff0c\u6211\u7406\u89e3\u8fd9\u53ef\u80fd\u4f1a\u5e26\u6765\u66f4\u591a\u77db\u76fe\uff0c\u4e0d\u8fc7\u6211\u603b\u662f\u4ee5\u4e3a\u671b\u800c\u4e0d\u5f97\u7684\u4e1c\u897f\u662f\u597d\u7684                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313723\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hxndg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Zhuzhuchenyan <\/p>\n<p>\u8fd9\u79cd\u5c5e\u4e8e\u4ee3\u7801\u98ce\u683c\u4e86\u5427\uff0c\u5982\u679c\u4f60\u4eec\u6ca1\u6709\u4ee3\u7801\u89c4\u8303\u90a3\u4e48\u8fd9\u4e2a\u4e1c\u897f\u5b9e\u9645\u4e0a\u4e5f\u4e0d\u662f\u90a3\u4e48\u4e25\u91cd\u3002<br \/>\u8fd9\u79cd\u65f6\u5019\uff0c\u4f60\u4eec\u5df2\u7ecf\u5b58\u5728\u7684\u4ee3\u7801\u662f\u4ec0\u4e48\u6807\u51c6\u53ef\u4ee5\u6210\u4e3a\u4e89\u8bba\u7684\u53c2\u8003                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313724\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wutiantong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u522b\u4eba\u7684\u4ee3\u7801\u4e0d\u8981\u6307\u624b\u753b\u811a\uff0c\u5c31\u95ee\u80fd\u4e0d\u80fd\u8dd1\u901a\uff0c\u80fd\uff1f\u725b b \uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313725\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : deadlock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wxw752 \u54c8\u54c8\u54c8\u54c8\u54c8\u54c8\u54c8\u54c8\u54c8                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313726\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sonxzjw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u7b97\u53c8 lead \u4e5f\u53ef\u80fd\u662f\u548c\u7a00\u6ce5\u7684<\/p>\n<p>\u4e4b\u524d\u5c31\u9047\u5230\u4e00\u4e2a\u5dee\u4e0d\u591a\u7684\u60c5\u666f\uff0c\u8ba9\u4e3b\u770b\u5230\u522b\u4eba\u7684\u60b2\u4f24\u80fd\u5f00\u5fc3\u8d77\u6765<\/p>\n<p>svn \u64cd\u4f5c\u95ee\u9898\uff0c\u6211\u8981\u6c42\u6bcf\u6b21\u66f4\u65b0\u6700\u8d77\u7801\u662f \u68c0\u67e5\u66f4\u65b0 \/\u5408\u5e76\uff0c\u66f4\u65b0\uff0c\u63d0\u4ea4\u3002\u7ed3\u679c\u6709\u4e2a\u540c\u4e8b\u504f\u4e0d\uff0c\u5c31\u53ea\u5f3a\u5236\u66f4\u65b0\u63d0\u4ea4\u4e0a\u53bb\uff0c\u8986\u76d6\u522b\u4eba\u7684\u66f4\u65b0\u3002\u7ed3\u679c\u6211\u4e24\u5c31\u5728\u7fa4\u91cc\u5435\u8d77\u6765\u4e86\uff0clead \u8fc7\u6765\u8bf4\u8fd9\u662f\u5c0f\u4e8b\uff0c\u8ba9\u6211\u201d\u8ba9\u8ba9\u201c\u90a3\u540c\u4e8b\u522b\u5435\u4e86\u3002emm&#8230;\u6211\u611f\u89c9\u633a\u597d\u7b11\u7684\u3002fine\uff0c\u6211\u4e0d\u8bf4\u4e86\u3002<\/p>\n<p>\u4e4b\u540e\u53d1\u751f\u4e86 3 \u6b21\u4e8b\u4ef6\u5427\uff0c2 \u6b21\u662f\u90a3\u540c\u4e8b\u628a\u522b\u4eba\u4ee3\u7801\u8986\u76d6\u4e86\u5bfc\u81f4\u751f\u4ea7\u95ee\u9898\u6392\u67e5\u4e86 n \u4e45\u30021 \u6b21\u5c31\u662f\u90a3\u540c\u4e8b\u8bef\u5220\u751f\u4ea7\u6570\u636e\u5e93\u3002\u7136\u540e\u90a3\u540c\u4e8b\u62ff\u5230\u4e86\u5f53\u5e74\u5e74\u5ea6\u6700\u4f73\u5458\u5de5\u8868\u73b0\u5956\u3002<\/p>\n<p>\u597d\u79bb\u5947\u5427\uff1f\u54c8\u54c8\u54c8                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313727\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yamedie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6731\u6731? po \u4e3b\u662f A \u5c9b\u5c9b\u6c11?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313728\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jaxer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sonxzjw \u4f55\u6b62\u79bb\u5947\uff0c\u7b80\u76f4\u5c31\u662f\u5173\u7cfb\u6237                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313729\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iikebug <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sonxzjw \u662f\u7531\u591f\u79bb\u8c31\u7684\uff0c\u5c31\u57fa\u672c\u7684\u4ee3\u7801\u5408\u5e76\u64cd\u4f5c\u90fd\u4e0d\u89c4\u8303\uff0c\u8fd9\u5176\u4ed6\u7684\u8fd8\u5f97\u4e86\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313730\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : siteshen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u4e00\u4e2a\u9700\u8981\u6392\u89e3\u5fc3\u60c5\u7684\u5e16\u5b50\u4e0b\u9762\uff0c\u6211\u8fd9\u56de\u590d\u53ef\u80fd\u5f15\u8d77\u4e0d\u9002\u3002<\/p>\n<p>\u5b57\u7b26\u4e32\u662f\u4e2a\u6846\uff0c\u5565\u90fd\u80fd\u5f80\u91cc\u9762\u88c5\u3002\u6211\u4e00\u822c\u662f\u80fd\u4e0d\u7528\u5b57\u7b26\u4e32\uff0c\u5c31\u4e0d\u7528\u5b57\u7b26\u4e32\uff0c\u800c any \u6bd4\u5b57\u7b26\u4e32\u66f4\u7cdf\u7cd5\uff0c\u5b8c\u7f8e\u62b9\u6740 typescript \u5f15\u5165\u7684\u7c7b\u578b\u7cfb\u7edf\u3002<\/p>\n<p>\u4ece\u8bbe\u8ba1\u89d2\u5ea6\u6765\u770b\uff0cmultiple \u4f5c\u4e3a boolean \u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<br \/>\u4ece\u5b9e\u73b0\u89d2\u5ea6\u6765\u770b\uff0c\u65e2\u7136\u8f93\u5165\u7684\u7c7b\u578b\u4e3a boolean\uff0c\u90a3\u4e48\u5c31\u4e0d\u9700\u8981\u8003\u8651\u7528\u6237\u4f20\u5165\u5b57\u7b26\u4e32\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u6240\u4ee5\u4f60\u96be\u53d7\u53ef\u80fd\u662f\u56e0\u4e3a\u8bbe\u8ba1\u548c\u5b9e\u73b0\u7406\u5ff5\u4e0d\u4e00\u81f4\uff0c\u6216\u8005\u8bf4\u300c\u5b9e\u73b0\u300d\u517c\u5bb9\u4e86\u7528\u6237\u4f20\u5165\u975e boolean \u7684\u60c5\u51b5\u3002<\/p>\n<p>\u5982\u679c\u662f\u6211\u6765\u5904\u7406\uff0c\u6211\u4f1a\u4fdd\u7559\u73b0\u6709\u7684\u8bbe\u8ba1\uff0c\u4fee\u6539\u5b9e\u73b0\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313731\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Austaras <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             any \u4e5f\u662f\u9519\u7684, \u8fd9\u91cc\u5e94\u8be5\u7528 unknown                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313732\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : moka20477 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u5c31\u662f\u5de5\u4f5c\u538b\u529b\u5927\uff0c\u53ef\u4ee5\u5b66\u5b66 timeboxing\uff0c\u628a\u4efb\u52a1\u76ee\u6807\u62c6\u5206\uff0c\u4e0d\u7528\u53bb\u8003\u8651\u5927\u76ee\u6807\uff0c\u6309\u90e8\u5c31\u73ed\u5b8c\u6210\u5c0f\u76ee\u6807\u5c31\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313733\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Zhuzhuchenyan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @siteshen \u6ca1\u4e8b\uff0c\u53ea\u8981\u662f\u4e2d\u80af\u7684\u8ba8\u8bba\u6211\u89c9\u5f97\u6ca1\u5fc5\u8981\u53bb\u987e\u8651\u5408\u9002\u4e0d\u5408\u9002\u3002<\/p>\n<p>\u5fc3\u60c5\u9700\u8981\u6392\u89e3\uff0c\u95ee\u9898\u4e5f\u9700\u8981\u53bb\u9762\u5bf9\u3002<\/p>\n<p>\u518d\u6b21\u611f\u8c22\u5404\u4f4d\u7684\u5efa\u8bae                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313734\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iugo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728 React \u4e2d, `&lt;component multiple&gt; &lt;\/component&gt;` = `&lt;component multiple={true}&gt; &lt;\/component&gt;`.<\/p>\n<p>\u8fd8\u771f\u6ca1\u8003\u8651\u8fc7\u5c5e\u6027\u540d\u79f0\u4e0e\u7528\u6cd5\u4e0e html \u4e00\u81f4.<\/p>\n<p>\u6ca1\u5199\u8fc7 ng, \u4f46\u5728 TS \u4e2d, \u8fd9\u6837\u5199 unknown \u7684\u786e\u66f4\u597d:<\/p>\n<p>&#8220;`ts<br \/>@Input() set multiple(value: unknown) {<br \/> this._isMultiple = (value != null &amp;&amp; String(value)!==&#8217;false&#8217;)<br \/>}<br \/>&#8220;`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313735\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iugo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Zhuzhuchenyan \u6211\u8bf4\u4e00\u79cd\u89e3\u91ca, \u6216\u8bb8\u53ef\u4ee5\u7406\u89e3\u4e00\u4e0b.<\/p>\n<p>\u56e0\u4e3a TS \u7684\u7c7b\u578b\u9650\u5236\u4ec5\u4ec5\u9650\u5236\u7f16\u8bd1, \u800c\u4e0d\u9650\u5236\u8fd0\u884c\u65f6, \u6240\u4ee5\u6709\u4eba\u65e2\u60f3\u8ba9\u5c0a\u91cd\u7c7b\u578b\u7684\u5c3d\u91cf\u4f20\u5165\u5e03\u5c14, \u53c8\u60f3\u8ba9\u4ee3\u7801\u517c\u5bb9\u975e\u9884\u671f\u7684\u53c2\u6570\u4f20\u5165, \u6240\u4ee5\u624d\u4e00\u8fb9\u9650\u5236\u4e86\u7c7b\u578b, \u4e00\u8fb9\u53c8\u505a\u517c\u5bb9.<\/p>\n<p>\u6211\u4e0d\u77e5\u9053 ng \u662f\u5426\u652f\u6301 JS, \u5982\u679c\u4e5f\u652f\u6301 JS, \u90a3\u4e48\u4e0a\u9762\u7684\u60f3\u6cd5\u4e5f\u5c31\u6709\u4e00\u5b9a\u9053\u7406.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5313736\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Zhuzhuchenyan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iugo \u55ef\u662f\u7684\uff0c`unknown`\u7684\u786e\u662f\u4e00\u4e2a\u5728\u672a\u77e5\u7684\u60c5\u51b5\u4e0b\u66f4\u597d\u5730\u9009\u62e9<\/p>\n<p>\u521a\u624d\u6253\u5f00\u4e86 https:\/\/angular.io\/guide\/template-typecheck#strict-mode, \u4e00\u4e2a Angular 9 \u624d\u5f15\u5165\u7684\u4e25\u683c\u6a21\u677f\u7c7b\u578b\u68c0\u67e5\uff0c\u540c\u4e8b\u90a3\u6837\u7684\u4ee3\u7801\u65e0\u6cd5\u901a\u8fc7\u7f16\u8bd1\uff0c\u4f1a\u63d0\u793a Type &#8216;string&#8217; is not assignable to type &#8216;boolean&#8217;.ngtsc(2322)<\/p>\n<p>Fine, \u5f97\u8fc7\u4e14\u8fc7\u5427\uff0c\u4e5f\u7b97\u662f\u5b66\u4f1a\u4e86\u65b0\u7528\u6cd5\uff0c\u4e25\u683c\u6a21\u5f0f\u5f00\u662f\u4e0d\u53ef\u80fd\u5f00\u7684\uff0c\u4e4b\u524d\u4ee3\u7801\u91cc\u592a\u591a\u9b54\u6cd5\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5199\u4ee3\u7801\u611f\u89c9\u50cf\u662f\u618b\u7740\u4e00\u53e3\u95f7\u6c14\u5728\u5199&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/344591"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=344591"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/344591\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=344591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=344591"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=344591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}