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

24 lines
424 B
JavaScript
Raw Normal View History

2023-03-14 09:11:54 +08:00
import {
observer
} from 'mobx-react';
import {
WeaTableNew,
} from 'comsMobx';
const WeaTable = WeaTableNew.WeaTable;
@observer
export default class Table extends React.Component {
render() {
const {
tableProps,
2024-12-11 15:32:14 +08:00
tableStore
} = this.props;
2023-03-14 09:11:54 +08:00
return (
2024-12-11 15:32:14 +08:00
<WeaTable ecId={`${this && this.props && this.props.ecId || ''}_WeaTable@h6159r`}
2023-03-14 09:11:54 +08:00
{...tableProps}
comsWeaTableStore={tableStore}
/>
);
}
}