视频详情优化

This commit is contained in:
禺狨 2023-07-05 09:39:52 +08:00
parent 90a54d1b9b
commit 25867876d4

View File

@ -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);
}
});