forked from huge/frontEnd/hugeOA

Mr Ke
2020-04-06 ad9b5d0d1fd7c8729170df32cf82c3b029207cdd
src/components/common/TopListTableView/index.jsx
@@ -8,6 +8,8 @@
import React, { ReactNode, ReactEventHandler, Component } from 'react';
import { Table, Row, Col } from 'antd';
import { tagList } from './tagList';
import fetch from '../../../api/request';
import './index.scss';
@@ -22,6 +24,11 @@
  }
  componentWillMount() {
    fetch({
      url: `api/merits/queryMerits`
    }).then(res => {
      console.log('res', res);
    })
    this.setState({
      topList: tagList
    })