-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathf3c04eaa.js
1 lines (1 loc) · 1.7 KB
/
f3c04eaa.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"1WIx":function(v,o,t){"use strict";t.r(o),t.d(o,"default",function(){return I});var l=t("J+/v"),D=t("MoRW"),p=t("+L6B"),j=t("2/Rp"),n=t("nKUr"),U=t.n(n),b=t("miYZ"),M=t("tsqr"),d=t("XKWP"),E=t("N7Kx"),i=t("kFHX"),c=t("4jIl"),P=t("q1tI"),O=t.n(P),f=t("1wtQ"),h=function(_){Object(i.a)(e,_);var s=Object(c.a)(e);function e(){return Object(d.a)(this,e),s.apply(this,arguments)}return Object(E.a)(e,[{key:"render",value:function(){return Object(n.jsx)(j.a,{danger:!0,onClick:function(){return f.a?M.default.error("\u4EC5\u5728\u751F\u4EA7\u6A21\u5F0F\u4E0B\u6709\u6548"):console.log(a)},children:"Make Error Only Product"})}}]),e}(O.a.Component),C=function(_){Object(i.a)(e,_);var s=Object(c.a)(e);function e(u){var r;return Object(d.a)(this,e),r=s.call(this,u),r.state={hasError:!1,error:void 0,errorInfo:void 0},r}return Object(E.a)(e,[{key:"render",value:function(){var r=this.state,m=r.hasError,B=r.errorInfo;return m?Object(n.jsx)(D.a,{status:"500",title:"\u9875\u9762\u53D1\u751F\u9519\u8BEF",subTitle:"\u8BF7\u8054\u7CFB\u5F00\u53D1\u4EBA\u5458\uFF0C\u63D0\u4F9B\u5E2E\u52A9\u3002".concat(B.componentStack),children:Object(n.jsx)(j.a,{size:"large",type:"primary",children:"\u8FD4\u56DE\u9996\u9875"})}):this.props.children}},{key:"componentDidCatch",value:function(r,m){this.setState({hasError:!0,error:r,errorInfo:m})}}]),e}(O.a.Component),I=function(_){Object(i.a)(e,_);var s=Object(c.a)(e);function e(){return Object(d.a)(this,e),s.apply(this,arguments)}return Object(E.a)(e,[{key:"render",value:function(){return Object(n.jsx)(C,{children:Object(n.jsx)(h,{})})}}]),e}(O.a.Component)},"1wtQ":function(v,o,t){"use strict";t.d(o,"a",function(){return l});var l=!1,D={isDev:l}}}]);