diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index fee5e6df5..8f93f780b 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -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 // // diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseReply.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseReply.js index 1c733868e..07b2909b3 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseReply.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksappraiseReply.js @@ -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( -
- {isStudent===true?comment_scores.length===0? -
-
-
- -

没有数据可以显示!

-
-
-
: + {comment_scores.length===0&&isStudent===true||comment_scores.length===0&&isNotMember===true? "":
+ {isStudent===true? + - } + }
+ } ) } } -export default ImageLayerOfCommentHOC() (GraduationTasksappraiseReply); \ No newline at end of file +export default ImageLayerOfCommentHOC() (GraduationTasksappraiseReply); +{/*
*/} + {/*
*/} + {/**/} + {/**/} + {/*

没有数据可以显示!

*/} + {/*
*/} + {/*
*/} +{/*
*/} \ No newline at end of file