hjm 6 years ago
commit e08875cfb7

@ -146,6 +146,11 @@ export function initAxiosInterceptors(props) {
if (response.data.status === 402) {
locationurl(response.data.url);
}
if (response.data.status === 401) {
return config;
}
// if (response.data.status === 407) {
// 在app js 中解决 Trialapplication
// // </Trialapplication>

@ -153,22 +153,14 @@ class GraduationTasksappraiseReply extends Component{
const { current_user, memo } = this.props
const isAdmin = this.props.isAdmin();
const isStudent=this.props.isStudent();
const isNotMember=this.props.isNotMember();
return(
<React.Fragment>
<div className="edu-back-white padding20-30" style={{marginTop: '16px'}}>
{isStudent===true?comment_scores.length===0?
<div id="forum_list" className="forum_table">
<div className="mh650 edu-back-white">
<div
className="edu-tab-con-box clearfix edu-txt-center">
<img className="edu-nodata-img mb20"
src={getImageUrl("images/educoder/nodata.png")}/>
<p className="edu-nodata-p mb30">没有数据可以显示</p>
</div>
</div>
</div>:
{comment_scores.length===0&&isStudent===true||comment_scores.length===0&&isNotMember===true? "": <div className="edu-back-white padding20-30" style={{marginTop: '16px'}}>
{isStudent===true?
<GraduationTasksappraiseReplyChild
{...this.props}
{...this.state}
@ -186,10 +178,21 @@ class GraduationTasksappraiseReply extends Component{
addSuccess={this.addSuccess}
onDelete={this.onDelete}
/>
}
}
</div>
}
</React.Fragment>
)
}
}
export default ImageLayerOfCommentHOC() (GraduationTasksappraiseReply);
export default ImageLayerOfCommentHOC() (GraduationTasksappraiseReply);
{/*<div id="forum_list" className="forum_table">*/}
{/*<div className="mh650 edu-back-white">*/}
{/*<div*/}
{/*className="edu-tab-con-box clearfix edu-txt-center">*/}
{/*<img className="edu-nodata-img mb20"*/}
{/*src={getImageUrl("images/educoder/nodata.png")}/>*/}
{/*<p className="edu-nodata-p mb30">没有数据可以显示!</p>*/}
{/*</div>*/}
{/*</div>*/}
{/*</div>*/}
Loading…
Cancel
Save