{"id":160396,"date":"2020-09-26T14:57:30","date_gmt":"2020-09-26T06:57:30","guid":{"rendered":"http:\/\/4563.org\/?p=160396"},"modified":"2020-09-26T14:57:30","modified_gmt":"2020-09-26T06:57:30","slug":"%e5%90%84%e4%bd%8d%e5%a4%a7%e4%bd%ac%ef%bc%8c-axios-%e5%bc%82%e6%ad%a5%e8%af%b7%e6%b1%82%ef%bc%8c%e5%9b%9e%e8%b0%83%e5%87%bd%e6%95%b0%e8%8e%b7%e5%8f%96%e5%85%a8%e5%b1%80%e5%8f%98%e9%87%8f%e4%b8%ba","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=160396","title":{"rendered":"\u5404\u4f4d\u5927\u4f6c\uff0c axios \u5f02\u6b65\u8bf7\u6c42\uff0c\u56de\u8c03\u51fd\u6570\u83b7\u53d6\u5168\u5c40\u53d8\u91cf\u4e3a\u7a7a\uff0c\u600e\u4e48\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u554a\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5404\u4f4d\u5927\u4f6c\uff0c axios \u5f02\u6b65\u8bf7\u6c42\uff0c\u56de\u8c03\u51fd\u6570\u83b7\u53d6\u5168\u5c40\u53d8\u91cf\u4e3a\u7a7a\uff0c\u600e\u4e48\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u554a\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qwertty01 <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>RT\uff0c\u5728\u7ebf\u7b49<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3467285\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liberty1900 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Talk is cheap                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3467286\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilencerL <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Show me the fucking code.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3467287\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : qwertty01 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @liberty1900 @SilencerL \u9ebb\u70e6\u5927\u4f6c\u5e2e\u5fd9\u770b\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3467288\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Danswerme <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u662f\u8981\u62ff\u5230 ref \uff1f \u51fd\u6570\u5f0f\u7ec4\u4ef6\u7684\u8bdd\u53ef\u4ee5\u7528 useRef<br \/>import { useRef } from &#8220;react&#8221;;<br \/>&#8230;<\/p>\n<p>let growl = useRef(null);<\/p>\n<p>\u6587\u6863\u89c1\u6b64 https:\/\/zh-hans.reactjs.org\/docs\/hooks-reference.html#useref<\/p>\n<p>\u53e6\u5916\u4f60 then \u91cc\u9762\u7684 const.log \u662f\u4ec0\u4e48\u73a9\u610f?                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3467289\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : qwertty01 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Danswerme \u591a\u8c22\u5927\u4f6c\u6307\u70b9\uff0cref \u8fd9\u5757\u4e00\u76f4\u6ca1\u592a\u5b66\u660e\u767d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5404\u4f4d\u5927\u4f6c\uff0c axios \u5f02\u6b65\u8bf7\u6c42\uff0c&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\/160396"}],"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=160396"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/160396\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160396"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}