diff --git a/public/react/src/modules/courses/coursesDetail/CoursesBanner.js b/public/react/src/modules/courses/coursesDetail/CoursesBanner.js
index 8a11b217c..923819970 100644
--- a/public/react/src/modules/courses/coursesDetail/CoursesBanner.js
+++ b/public/react/src/modules/courses/coursesDetail/CoursesBanner.js
@@ -734,7 +734,7 @@ background:rgba(204,204,204,0.2) !important;
}
`}
-
+ {this.props.isAdminOrStudent()===true?
trigger.parentNode} visible={coursedata.teacher_applies_count===undefined?false:coursedata.teacher_applies_count>0?true:false}
@@ -766,7 +766,7 @@ background:rgba(204,204,204,0.2) !important;
学分 {coursedata.credit}
}
-
+ :""}
{/*
*/}
{/**/}
diff --git a/public/react/src/modules/tpm/TPMIndexHOC.js b/public/react/src/modules/tpm/TPMIndexHOC.js
index 4116aef3a..f46835959 100644
--- a/public/react/src/modules/tpm/TPMIndexHOC.js
+++ b/public/react/src/modules/tpm/TPMIndexHOC.js
@@ -375,9 +375,7 @@ export function TPMIndexHOC(WrappedComponent) {
});
}
- /**
- 课堂权限相关方法,暂时写这里了 ----------------------------------------END
- */
+
fetchUser = () => {
let url = `/users/get_user_info.json`
let courseId;