frontend/build/static/js/main.6f32e568.chunk.js

1 line
2.2 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),s=(t(45),t(25)),m=t(5),c=(t(46),t(36),t(58)),r=t(10),b="/Users/zhangds/web/blue-brother/frontend/src/App.js";const a=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(1),t.e(3),t.e(2),t.e(6)]).then(t.bind(null,596)))),u=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(1),t.e(3),t.e(2),t.e(7)]).then(t.bind(null,604)))),h=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(10)]).then(t.bind(null,579)))),d=Object(i.lazy)((()=>Promise.all([t.e(0),t.e(1),t.e(11),t.e(2),t.e(9)]).then(t.bind(null,584))));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)(s.a,{children:Object(r.jsxDEV)(i.Suspense,{fallback:Object(r.jsxDEV)(c.a,{loading:!0,icon:"circle",iconText:"\u52a0\u8f7d\u4e2d..."},void 0,!1,{fileName:b,lineNumber:29,columnNumber:13},this),children:[Object(r.jsxDEV)(m.b,{path:"/login",exact:!0,component:u},void 0,!1,{fileName:b,lineNumber:31,columnNumber:11},this),Object(r.jsxDEV)(m.b,{path:"/edittemplate",exact:!0,component:d},void 0,!1,{fileName:b,lineNumber:32,columnNumber:11},this),Object(r.jsxDEV)(m.b,{path:"/home",component:a},void 0,!1,{fileName:b,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:b,lineNumber:37,columnNumber:27},this)},void 0,!1,{fileName:b,lineNumber:34,columnNumber:11},this),Object(r.jsxDEV)(m.b,{component:h},void 0,!1,{fileName:b,lineNumber:38,columnNumber:11},this)]},void 0,!0,{fileName:b,lineNumber:27,columnNumber:9},this)},void 0,!1,{fileName:b,lineNumber:26,columnNumber:7},this)}}var j=e=>{e&&e instanceof Function&&t.e(12).then(t.bind(null,580)).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:"/Users/zhangds/web/blue-brother/frontend/src/index.js",lineNumber:10,columnNumber:5},void 0),document.getElementById("root")),j()}},[[55,5,8]]]);