From ad9b5d0d1fd7c8729170df32cf82c3b029207cdd Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Mon, 06 Apr 2020 17:48:35 +0800
Subject: [PATCH] 修改规章制度列表

---
 src/components/common/TopListTableView/index.jsx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/components/common/TopListTableView/index.jsx b/src/components/common/TopListTableView/index.jsx
index 0b8423b..859bf83 100644
--- a/src/components/common/TopListTableView/index.jsx
+++ b/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
     })

--
Gitblit v1.8.0