-
- {list.map((item, index) => (
- // eslint-disable-next-line react/no-array-index-key
-
-
+ {list.map((item, index) => {
+ return (
+
+ {index + 1}
+
{item.title}
{item.list.map((childItem) => {
return (
@@ -110,9 +184,9 @@ const CourseCom: React.FC = () => {
)
})}
-
- ))}
-
+
+ )
+ })}