|
|
|
@ -93,9 +93,7 @@ class CaseList extends Component{
|
|
|
|
|
|
|
|
|
|
render(){
|
|
|
|
|
let { type , search ,libraries , totalCount ,pageSize ,page } = this.state;
|
|
|
|
|
let { current_user } = this.props;
|
|
|
|
|
console.log(current_user);
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
let { checkIfLogin } = this.props;
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<img src={mainImg} width="100%" />
|
|
|
|
@ -112,7 +110,7 @@ class CaseList extends Component{
|
|
|
|
|
<a href="javascript:void(0)">全部</a>
|
|
|
|
|
</li>
|
|
|
|
|
{
|
|
|
|
|
current_user &&
|
|
|
|
|
checkIfLogin() &&
|
|
|
|
|
<li className={type == 1 ? "active" :""} onClick={()=>this.changeType(1)}>
|
|
|
|
|
<a href="javascript:void(0)">我的</a>
|
|
|
|
|
</li>
|
|
|
|
|