mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-13 03:50:07 +08:00
点击最后一节返回课程
This commit is contained in:
parent
9ecff02070
commit
c76557541b
@ -123,7 +123,13 @@ export const VideoModel: React.FC<PropInterface> = ({
|
|||||||
{playendedStatus && (
|
{playendedStatus && (
|
||||||
<div className={styles["alert-message"]}>
|
<div className={styles["alert-message"]}>
|
||||||
{isLastpage && (
|
{isLastpage && (
|
||||||
<div className={styles["alert-button"]}>
|
<div
|
||||||
|
className={styles["alert-button"]}
|
||||||
|
onClick={() => {
|
||||||
|
window.player && window.player.destroy();
|
||||||
|
onCancel();
|
||||||
|
}}
|
||||||
|
>
|
||||||
恭喜你学完最后一节
|
恭喜你学完最后一节
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user