Simulate.js 539 B

1234567891011121314151617181920
  1. import { useParams } from '@umijs/max';
  2. import SimulateDetail from './components/SimulateDetail';
  3. import SimulatePie from './components/SimulatePie';
  4. import styles from './index.less';
  5. const Simulate = (props) => {
  6. const { projectId } = useParams();
  7. return (
  8. <div>
  9. <div className={styles.Row} style={{ marginBottom: 20 }}>
  10. <SimulatePie projectId={projectId} />
  11. </div>
  12. <div className={styles.Row}>
  13. <SimulateDetail projectId={projectId} />
  14. </div>
  15. </div>
  16. );
  17. };
  18. export default Simulate;