点击最后一节返回课程

This commit is contained in:
禺狨 2023-03-30 09:52:19 +08:00
parent 9ecff02070
commit c76557541b

View File

@ -123,7 +123,13 @@ export const VideoModel: React.FC<PropInterface> = ({
{playendedStatus && (
<div className={styles["alert-message"]}>
{isLastpage && (
<div className={styles["alert-button"]}>
<div
className={styles["alert-button"]}
onClick={() => {
window.player && window.player.destroy();
onCancel();
}}
>
</div>
)}