fix: 修改添加分组处最小宽度以及添加分组的描述框为textarea

This commit is contained in:
qitmac000249 2017-07-25 10:31:19 +08:00
parent 7cf0d94c55
commit 60ae8e073f
4 changed files with 8 additions and 4 deletions

View File

@ -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
})
};
}

View File

@ -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);
})
}

View File

@ -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 {
<Row gutter={6} className="modal-input">
<Col span="5"><div className="label">简介</div></Col>
<Col span="15">
<Input placeholder="请输入分组描述" onChange={this.inputNewGroupDesc}></Input>
<TextArea rows = {3} placeholder="请输入分组描述" onChange={this.inputNewGroupDesc}></TextArea>
</Col>
</Row>
</Modal>

View File

@ -23,6 +23,7 @@
}
.group-operate {
height: 48px;
min-width: 263px;
padding: 10px 6px;
background: #fff;
.search {