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}>