mirror of
https://github.com/PlayEdu/h5.git
synced 2025-06-06 15:44:09 +08:00
视频详情优化
This commit is contained in:
parent
90a54d1b9b
commit
25867876d4
@ -52,7 +52,7 @@ const CoursePage = () => {
|
||||
setLearnRecord(res.data.learn_record);
|
||||
}
|
||||
|
||||
if (JSON.stringify(res.data.learn_hour_records) !== "{}") {
|
||||
if (res.data.learn_hour_records) {
|
||||
setLearnHourRecord(res.data.learn_hour_records);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user