20 lines
497 B
JavaScript
20 lines
497 B
JavaScript
import React from 'react'
|
|
import { WeaTable } from 'ecCom'
|
|
import { Spin } from 'antd'
|
|
|
|
export default class CustomTable extends React.Component {
|
|
render() {
|
|
return (
|
|
<div>
|
|
{
|
|
this.props.loading ?
|
|
<div style={{textAlign: 'center'}}>
|
|
<Spin />
|
|
</div>
|
|
:
|
|
<WeaTable {...this.props}/>
|
|
}
|
|
</div>
|
|
)
|
|
}
|
|
} |