weaver_trunk_cli/pc4mobx/hrm/public/components/Table.js

34 lines
462 B
JavaScript
Raw Normal View History

2024-12-11 15:32:14 +08:00
import {
observer
} from 'mobx-react';
import {
WeaTableNew
} from 'comsMobx';
const WeaTable = WeaTableNew.WeaTable;
@observer
export default class Table extends React.Component {
constructor(props) {
super(props);
}
render() {
const {
store
} = this.props, {
TABLE,
share
} = store, {
table
} = share;
const staticProps = TABLE ? TABLE : share.TABLE;
return (
<WeaTable
{...staticProps}
{...table}
/>
);
}
}