mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-10 06:49:49 +08:00
init project
This commit is contained in:
33
public/react/src/common/ShowSpin.js
Normal file
33
public/react/src/common/ShowSpin.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import React, { Component } from 'react';
|
||||
import { SnackbarHOC } from 'educoder';
|
||||
import { TPMIndexHOC } from '../modules/tpm/TPMIndexHOC';
|
||||
import {Spin,Alert} from 'antd';
|
||||
|
||||
class ShowSpin extends Component{
|
||||
constructor(props) {
|
||||
super(props)
|
||||
}
|
||||
|
||||
|
||||
|
||||
render() {
|
||||
let marigin={
|
||||
width: '100%',
|
||||
minHeight: '500px',
|
||||
}
|
||||
return (
|
||||
|
||||
<Spin style={marigin}>
|
||||
|
||||
<Alert
|
||||
style={marigin}
|
||||
type="info"
|
||||
/>
|
||||
|
||||
</Spin>
|
||||
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default SnackbarHOC() ( TPMIndexHOC(ShowSpin) );
|
||||
Reference in New Issue
Block a user