frontend/build/static/js/main.9146e6d0.chunk.js

1 line
1.9 KiB
JavaScript
Raw Normal View History

2024-03-08 02:41:55 +08:00
(this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[]).push([[4],{39:function(e,t,n){},46:function(e,t,n){},47:function(e,t,n){},54:function(e,t,n){},55:function(e,t,n){"use strict";n.r(t);var c=n(0),o=n(18),a=n.n(o),i=(n(46),n(24)),r=n(25),l=n(26),u=n(27),s=n(20),b=n(3),j=(n(47),n(39),n(59)),h=n(1),f=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(2),n.e(6)]).then(n.bind(null,509))})),p=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(2),n.e(7)]).then(n.bind(null,520))})),m=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,491))})),O=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(1),n.e(10),n.e(2),n.e(9)]).then(n.bind(null,496))})),d=function(e){Object(l.a)(n,e);var t=Object(u.a)(n);function n(){var e;Object(i.a)(this,n);for(var c=arguments.length,o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={pathname:""},e}return Object(r.a)(n,[{key:"componentWillMount",value:function(){var e=window.location.href.lastIndexOf("/"),t=window.location.href.substr(e);this.setState({pathname:"".concat(t)})}},{key:"render",value:function(){return Object(h.jsx)(s.a,{children:Object(h.jsxs)(c.Suspense,{fallback:Object(h.jsx)(j.a,{loading:!0,icon:"circle",iconText:"\u52a0\u8f7d\u4e2d..."}),children:[Object(h.jsx)(b.b,{path:"/login",exact:!0,component:p}),Object(h.jsx)(b.b,{path:"/edittemplate",exact:!0,component:O}),Object(h.jsx)(b.b,{path:"/home",component:f}),Object(h.jsx)(b.b,{exact:!0,path:"/",render:function(){return Object(h.jsx)(b.a,{to:"/login"})}}),Object(h.jsx)(b.b,{component:m})]})})}}]),n}(c.Component),x=function(e){e&&e instanceof Function&&n.e(12).then(n.bind(null,493)).then((function(t){var n=t.getCLS,c=t.getFID,o=t.getFCP,a=t.getLCP,i=t.getTTFB;n(e),c(e),o(e),a(e),i(e)}))};n(53),n(54);a.a.render(Object(h.jsx)(d,{}),document.getElementById("root")),x()}},[[55,5,8]]]);