|
|
@@ -1,5 +1,5 @@
|
|
|
import React from 'react'
|
|
|
-import { Layout, Row, Col, Input, Button, Table, Icon, Card } from 'antd'
|
|
|
+import { Layout, Row, Col, Input, Table, Card } from 'antd'
|
|
|
import { connect } from 'dva'
|
|
|
import { dateFormat } from '../../utils/baseUtils'
|
|
|
import './logs.less'
|
|
|
@@ -12,13 +12,10 @@ class Logs extends React.Component {
|
|
|
this.state = {
|
|
|
pageSize: 10,
|
|
|
tableBodyHeight: 0,
|
|
|
- //visibleAddMemberBox: false
|
|
|
}
|
|
|
};
|
|
|
|
|
|
componentDidMount() {
|
|
|
- const { dispatch } = this.props;
|
|
|
- //dispatch({ type: 'userGroup/fetchList', autoSelect: true });
|
|
|
this.tableSize();
|
|
|
window.addEventListener('resize', this.tableSize);
|
|
|
}
|
|
|
@@ -38,7 +35,6 @@ class Logs extends React.Component {
|
|
|
|
|
|
render() {
|
|
|
const { logs } = this.props
|
|
|
- const { tableBodyHeight, pageSize, visibleDeleteBox } = this.state;
|
|
|
const logsColumns = [{
|
|
|
title: '界面名称',
|
|
|
dataIndex: 'name',
|