提交 50c9f082 authored 作者: 周盛's avatar 周盛

Revert "$ git commit -m 将Filter放到"

This reverts commit 85f238dc. 撤销
上级 85f238dc
......@@ -16,6 +16,7 @@ const queryOptions = async() => {
export default class Filter extends React.Component{
stattic
constructor(props){
super(props);
this.state ={
......@@ -145,9 +146,8 @@ export default class Filter extends React.Component{
render(){
const { gradeList, institutionList, majorList, clazzList } = this.state.options;
const { institutionId , majorId } = this.state.formValues;
const { style } = this.props;
return (
<div className='siderBar' style={style ? style : null}>
<div className='siderBar'>
<div className='searchBox'>
<input type='text'
ref={node => this.input = node}
......@@ -183,7 +183,6 @@ export default class Filter extends React.Component{
Filter.propTypes = {
getPage: PropTypes.func.isRequired, // 页面刷新方法
toggle: PropTypes.func, // 收回侧边方法
style: PropTypes.object, // 外框样式
}
Filter.defaultProps = {
getPage: () => {}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论