forked from huge/frontEnd/hugeOA

Mr Ke
2020-04-29 2ea56ed08b58386f0612635101b1acd51cd4a44c
src/components/common/TopListTableView/index.jsx
@@ -27,7 +27,7 @@
    fetch({
      url: `api/merits/queryMerits`
    }).then(res => {
      console.log('res', res);
      if( res) {
      this.setState({
        topList: [
          { ...tag['latenessRanking'], dataSource: res['latenessRanking'] },
@@ -35,6 +35,7 @@
          { ...tag['defectRanking'], dataSource: res['defectRanking'] },
        ]
      })
      }
    })
  }
@@ -57,7 +58,6 @@
  render() {
    let { topList } = this.state;
    console.log(topList)
    return (
      <div className="top-list-table-view-main">
        <Row type="flex" gutter={12}>