新增页面
This commit is contained in:
parent
ded1523e26
commit
0efdb5f990
12
src/App.js
12
src/App.js
|
|
@ -51,6 +51,10 @@ const Information = Loadable({
|
|||
loader: () => import('./forge/Information/index'),
|
||||
loading: Loading,
|
||||
})
|
||||
const SoftwareFactory = Loadable({
|
||||
loader: () => import('./forge/SoftwareFactory/index'),
|
||||
loading: Loading,
|
||||
})
|
||||
//forge安全设置
|
||||
const Security = Loadable({
|
||||
loader: () => import('./forge/SecuritySetting/Index'),
|
||||
|
|
@ -404,6 +408,14 @@ class App extends Component {
|
|||
}
|
||||
}>
|
||||
</Route>
|
||||
<Route
|
||||
path={"/softwareFactory/:type"}
|
||||
render={
|
||||
(props) => {
|
||||
return (<SoftwareFactory {...this.props} {...props} {...this.state} />)
|
||||
}
|
||||
}>
|
||||
</Route>
|
||||
<Route
|
||||
path={"/settings"}
|
||||
render={
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
|
|
@ -0,0 +1,16 @@
|
|||
import React ,{ useEffect , useState } from "react";
|
||||
import { SnackbarHOC } from "educoder";
|
||||
import { CNotificationHOC } from "../../modules/courses/common/CNotificationHOC";
|
||||
import { TPMIndexHOC } from "../../modules/tpm/TPMIndexHOC";
|
||||
import { withRouter } from "react-router";
|
||||
import { ImageLayerOfCommentHOC } from "../../modules/page/layers/ImageLayerOfCommentHOC";
|
||||
|
||||
function Index(props){
|
||||
return <div style={{position:'fixed',top:0,right:0,bottom:0,left:0,backgroundColor:'#f00',zIndex:9999}}>123</div>
|
||||
}
|
||||
|
||||
export default withRouter((CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(ImageLayerOfCommentHOC({
|
||||
imgSelector: ".imageLayerParent img, .imageLayerParent .imageTarget",
|
||||
parentSelector: ".newContainer",
|
||||
})(Index)))))
|
||||
);
|
||||
Loading…
Reference in New Issue