mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-06 15:34:10 +08:00
commit
1312d4531b
@ -161,8 +161,8 @@ const CoursePage = () => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{learnRecord &&
|
||||
JSON.stringify(learnRecord) === "{}" &&
|
||||
{(!learnRecord ||
|
||||
(learnRecord && JSON.stringify(learnRecord) === "{}")) &&
|
||||
JSON.stringify(learnHourRecord) === "{}" && (
|
||||
<Progress
|
||||
type="circle"
|
||||
@ -174,8 +174,8 @@ const CoursePage = () => {
|
||||
format={(percent) => `${percent}%`}
|
||||
/>
|
||||
)}
|
||||
{learnRecord &&
|
||||
JSON.stringify(learnRecord) === "{}" &&
|
||||
{(!learnRecord ||
|
||||
(learnRecord && JSON.stringify(learnRecord) === "{}")) &&
|
||||
JSON.stringify(learnHourRecord) !== "{}" && (
|
||||
<Progress
|
||||
type="circle"
|
||||
|
Loading…
x
Reference in New Issue
Block a user