@ -45,7 +45,7 @@ export default ({ src, videoId, logWatchHistory, courseId = null }) => {
const log = useCallback((callback, isEnd = false) => {
let params = {
point: el.currentTime.currentTime
point: el.current.currentTime
}
if (logId) {
params['log_id'] = logId
@ -397,7 +397,7 @@ class TPMIndex extends Component {
newathArray:list
})
render() {
let url = window.location.href;
let flag =false;
@ -671,7 +671,7 @@ class TPMIndex extends Component {
</div>
);
export default SnackbarHOC() (TPMIndexHOC ( TPMIndex ));