mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-08 07:08:34 +08:00
详情页加载优化
This commit is contained in:
parent
5ce52c520a
commit
2bd10f5a6f
@ -87,6 +87,8 @@ export const HourCompenent: React.FC<PropInterface> = ({
|
||||
<div
|
||||
className={styles["item"]}
|
||||
onClick={() => {
|
||||
setCurrentId(id);
|
||||
setCurrentTitle(title);
|
||||
setVisible(true);
|
||||
}}
|
||||
>
|
||||
|
@ -148,6 +148,7 @@ export const VideoModel: React.FC<PropInterface> = ({
|
||||
if (loading) {
|
||||
return;
|
||||
}
|
||||
window.player && window.player.destroy();
|
||||
setLoading(true);
|
||||
setLastSeeValue({});
|
||||
setPlayendedStatus(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user