Browse Source

something not important

zhuth 7 years ago
parent
commit
6aa344aa53
2 changed files with 1 additions and 6 deletions
  1. 1 1
      src/components/common/dataPreview/dataPreview.jsx
  2. 0 5
      src/models/dataList.js

+ 1 - 1
src/components/common/dataPreview/dataPreview.jsx

@@ -42,7 +42,7 @@ class DataPreview extends React.Component {
     }
 
     render() {
-        const { fetchFunction, fetching, dataList, visibleBox, hideBox } = this.props;
+        const { fetchFunction, dataList, visibleBox, hideBox } = this.props;
         const { loading, columns, dataSource, pageSize, total } = dataList;
         const { screenWidth, screenHeight, boxW, boxH, columnWidth, tableHeaderHeight } = this.state;
         const tableBodyWidth = screenWidth * boxW - 10 - 10 - 18;

+ 0 - 5
src/models/dataList.js

@@ -1,8 +1,3 @@
-import { message } from 'antd'
-import * as service from '../services/index'
-import URLS from '../constants/url'
-import moment from 'moment'
-
 export default {
     namespace: 'dataList',
     state: {