diff --git a/client/actions/news.js b/client/actions/news.js index 24a1fcb6..9d4da1fc 100644 --- a/client/actions/news.js +++ b/client/actions/news.js @@ -21,10 +21,12 @@ export function fetchNewsData (uid,page,limit) { page: page, limit: variable.PAGE_LIMIT?variable.PAGE_LIMIT:limit } - console.log(param); + // console.log(param); return { type: FETCH_NEWS_DATA, - payload: axios.get('/log/list',param) + payload: axios.get('/log/list',{ + params: param + }) }; } diff --git a/client/containers/News/News.js b/client/containers/News/News.js index df5bb797..540324ae 100644 --- a/client/containers/News/News.js +++ b/client/containers/News/News.js @@ -38,7 +38,7 @@ class News extends Component { } componentWillMount(){ console.log(this.props.uid); - this.props.fetchNewsData(1,1,10).then(function(data){ + this.props.fetchNewsData(107,1,10).then(function(data){ console.log(data); }) } diff --git a/client/containers/ProjectGroups/GroupList/GroupList.js b/client/containers/ProjectGroups/GroupList/GroupList.js index f5f265f8..603752a3 100644 --- a/client/containers/ProjectGroups/GroupList/GroupList.js +++ b/client/containers/ProjectGroups/GroupList/GroupList.js @@ -5,6 +5,7 @@ import { Button, Icon, Modal, Input, message, Menu, Row, Col } from 'antd' import { autobind } from 'core-decorators'; import axios from 'axios'; +const { TextArea } = Input; const Search = Input.Search; const confirm = Modal.confirm; const TYPE_EDIT = 'edit'; @@ -229,7 +230,7 @@ export default class GroupList extends Component {
简介:
- +
diff --git a/client/containers/ProjectGroups/GroupList/GroupList.scss b/client/containers/ProjectGroups/GroupList/GroupList.scss index b6b7b1be..14133998 100644 --- a/client/containers/ProjectGroups/GroupList/GroupList.scss +++ b/client/containers/ProjectGroups/GroupList/GroupList.scss @@ -23,6 +23,7 @@ } .group-operate { height: 48px; + min-width: 263px; padding: 10px 6px; background: #fff; .search {