-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2f3d6fb6.js
1 lines (1 loc) · 2.23 KB
/
2f3d6fb6.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{"1wtQ":function(B,l,e){"use strict";e.d(l,"a",function(){return _});var _=!1,A={isDev:_}},SR78:function(B,l,e){"use strict";e.r(l),e.d(l,"default",function(){return g});var _=e("nKUr"),A=e.n(_),y=e("5NDa"),K=e("5rEg"),F=e("fOrg"),R=e("+KLJ"),x=e("IzEo"),I=e("bx4M"),L=e("c1Ei"),o=e.n(L),S=e("miYZ"),P=e("tsqr"),M=e("5Tp6"),G=e("+L6B"),T=e("2/Rp"),v=e("XKWP"),j=e("N7Kx"),h=e("kFHX"),f=e("4jIl"),C=e("q1tI"),b=e.n(C),U=e("1wtQ"),W=function(i){Object(h.a)(t,i);var m=Object(f.a)(t);function t(){return Object(v.a)(this,t),m.apply(this,arguments)}return Object(j.a)(t,[{key:"render",value:function(){for(var n=this.props.number||1,r=[],s=0;s<n;s++){var d="".concat(s);r.push(Object(_.jsx)(T.a,{style:{margin:"5px"},type:"dashed",shape:"circle",children:d[d.length-1]},s))}return Object(_.jsx)(C.Profiler,{id:"1",onRender:function(){var c=Object(M.a)(o.a.mark(function a(D,p,u){return o.a.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",P.default.success("".concat(u)));case 1:case"end":return E.stop()}},a)}));return function(a,D,p){return c.apply(this,arguments)}}(),children:Object(_.jsx)(I.a,{children:r})})}}]),t}(b.a.Component),g=function(i){Object(h.a)(t,i);var m=Object(f.a)(t);function t(O){var n;return Object(v.a)(this,t),n=m.call(this,O),n.onRender=function(){var r=Object(M.a)(o.a.mark(function s(d,c,a,D){return o.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,P.default.success("\u7EC4\u4EF6\u91CD\u65B0\u6E32\u67D3\uFF1AactualDuration=".concat(a));case 2:console.log(D);case 3:case"end":return u.stop()}},s)}));return function(s,d,c,a){return r.apply(this,arguments)}}(),n.state={number:2},n}return Object(j.a)(t,[{key:"render",value:function(){var n=this;return Object(_.jsxs)(_.Fragment,{children:[!U.a&&Object(_.jsx)(R.a,{message:"\u4EC5\u5728\u5F00\u53D1\u73AF\u5883\u4E0B\u6709\u6548\uFF0C\u5F53\u524D\u5904\u4E8E\u751F\u4EA7\u73AF\u5883",type:"error"}),Object(_.jsx)(K.a.Search,{disabled:!U.a,enterButton:"\u66F4\u65B0",onSearch:function(s){return n.setState({number:s})},type:"number",defaultValue:this.state.number,min:1,max:1e4,placeholder:"\u8F93\u5165\u6E32\u67D3\u6570\u91CF"}),Object(_.jsx)(W,{number:this.state.number})]})}}]),t}(b.a.Component)}}]);