UNPKG

1.45 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/components/AppConfig/App.js"],"names":["Header","Footer","Sider","Content","App","props","context","route","routes","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;AAEA;;AAGA;;;;IADQA,M,oBAAAA,M;IAAQC,M,oBAAAA,M;IAAQC,K,oBAAAA,K;IAAOC,O,oBAAAA,O;AAH/B;;AAMA;IACqBC,G;;;AACnB,iBAAYC,KAAZ,EAAmBC,OAAnB,EAA4B;AAAA;AAAA,+HACpBD,KADoB,EACbC,OADa;AAE3B;;;;iCAEU;AAAA,gBACGC,KADH,GACa,KAAKF,KADlB,CACGE,KADH;;AAEL,mBACI;AAAA;AAAA;AACI;AAAC,0BAAD;AAAA;AAAA;AAAA,iBADJ;AAEI;AAAA;AAAA;AACI;AAAC,+BAAD;AAAA;AAAUA,gCAAM,qCAAaA,MAAMC,MAAnB,CAAN,GAAiC;AAA3C;AADJ;AAFJ,aADJ;AAQH;;;EAf4BC,gB;;kBAAZL,G","file":"App.js","sourcesContent":["import React, { Component } from 'react';\r\n/*import { withRouter } from 'react-router';*/\r\nimport { renderRoutes } from 'react-router-config';\r\nimport { Layout,Button } from 'jdcloudui';\r\nconst { Header, Footer, Sider, Content } = Layout;\r\nimport './style.css'\r\n\r\n/*@withRouter*/\r\nexport default class App extends Component {\r\n constructor(props, context) {\r\n super(props, context);\r\n }\r\n\r\n render() {\r\n const { route } = this.props;\r\n return (\r\n <Layout>\r\n <Header>组件配置中心</Header>\r\n <Layout>\r\n <Content>{route?renderRoutes(route.routes):''}</Content>\r\n </Layout>\r\n </Layout>\r\n );\r\n }\r\n}\r\n"]}
\No newline at end of file