mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-21 12:02:46 +08:00
课程详情页无课时和无章节情况显示暂无课时
This commit is contained in:
parent
42be719f00
commit
2ba923d89d
@ -86,6 +86,9 @@ const CoursePage = () => {
|
||||
)}
|
||||
</div>
|
||||
<div className={styles["chapters-hours-cont"]}>
|
||||
{chapters.length === 0 && JSON.stringify(hours) === "{}" && (
|
||||
<div>暂无课时</div>
|
||||
)}
|
||||
{chapters.length === 0 && JSON.stringify(hours) !== "{}" && (
|
||||
<div className={styles["hours-list-box"]}>
|
||||
{hours[0].map((item: any) => (
|
||||
|
Loading…
x
Reference in New Issue
Block a user