frontend/build/static/js/main.4bf14af3.chunk.js

1 line
2.3 KiB
JavaScript

(this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[]).push([[4],{36:function(e,n,t){},45:function(e,n,t){},46:function(e,n,t){},54:function(e,n,t){},55:function(e,n,t){"use strict";t.r(n);var i=t(1),o=t(24),l=t.n(o),c=(t(45),t(25)),m=t(5),s=(t(46),t(36),t(58)),r=t(10),a="D:\\project\\\u8425\u9500\u7cfb\u7edf\\frontend\\src\\App.js";const u=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(1),t.e(3),t.e(2),t.e(6)]).then(t.bind(null,491)))),b=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(1),t.e(3),t.e(2),t.e(7)]).then(t.bind(null,503)))),d=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(11)]).then(t.bind(null,474)))),h=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(1),t.e(10),t.e(2),t.e(9)]).then(t.bind(null,479))));class N extends i.Component{constructor(...e){super(...e),this.state={pathname:""}}componentWillMount(){const e=window.location.href.lastIndexOf("/"),n=window.location.href.substr(e);this.setState({pathname:`${n}`})}render(){return Object(r.jsxDEV)(c.a,{children:Object(r.jsxDEV)(i.Suspense,{fallback:Object(r.jsxDEV)(s.a,{loading:!0,icon:"circle",iconText:"\u52a0\u8f7d\u4e2d..."},void 0,!1,{fileName:a,lineNumber:29,columnNumber:13},this),children:[Object(r.jsxDEV)(m.b,{path:"/login",exact:!0,component:b},void 0,!1,{fileName:a,lineNumber:31,columnNumber:11},this),Object(r.jsxDEV)(m.b,{path:"/edittemplate",exact:!0,component:h},void 0,!1,{fileName:a,lineNumber:32,columnNumber:11},this),Object(r.jsxDEV)(m.b,{path:"/home",component:u},void 0,!1,{fileName:a,lineNumber:33,columnNumber:11},this),Object(r.jsxDEV)(m.b,{exact:!0,path:"/",render:()=>Object(r.jsxDEV)(m.a,{to:"/login"},void 0,!1,{fileName:a,lineNumber:37,columnNumber:27},this)},void 0,!1,{fileName:a,lineNumber:34,columnNumber:11},this),Object(r.jsxDEV)(m.b,{component:d},void 0,!1,{fileName:a,lineNumber:38,columnNumber:11},this)]},void 0,!0,{fileName:a,lineNumber:27,columnNumber:9},this)},void 0,!1,{fileName:a,lineNumber:26,columnNumber:7},this)}}var j=e=>{e&&e instanceof Function&&t.e(12).then(t.bind(null,476)).then((({getCLS:n,getFID:t,getFCP:i,getLCP:o,getTTFB:l})=>{n(e),t(e),i(e),o(e),l(e)}))};t(53),t(54);l.a.render(Object(r.jsxDEV)(N,{},void 0,!1,{fileName:"D:\\project\\\u8425\u9500\u7cfb\u7edf\\frontend\\src\\index.js",lineNumber:10,columnNumber:5},void 0),document.getElementById("root")),j()}},[[55,5,8]]]);