dev_forum
杨树明 6 years ago
parent acdf0245e9
commit 9e10071863

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

@ -157,18 +157,9 @@ class GraduationTasksappraiseReply extends Component{
return( return(
<React.Fragment> <React.Fragment>
<div className="edu-back-white padding20-30" style={{marginTop: '16px'}}> {comment_scores.length===0? "": <div className="edu-back-white padding20-30" style={{marginTop: '16px'}}>
{isStudent===true?comment_scores.length===0? {isStudent===true?
<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>:
<GraduationTasksappraiseReplyChild <GraduationTasksappraiseReplyChild
{...this.props} {...this.props}
{...this.state} {...this.state}
@ -186,10 +177,21 @@ class GraduationTasksappraiseReply extends Component{
addSuccess={this.addSuccess} addSuccess={this.addSuccess}
onDelete={this.onDelete} onDelete={this.onDelete}
/> />
} }
</div> </div>
}
</React.Fragment> </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