|
@@ -57,9 +57,9 @@ const TypeTable: React.FC<{
|
|
modelReviews: any;
|
|
modelReviews: any;
|
|
}[];
|
|
}[];
|
|
}) => [
|
|
}) => [
|
|
- item.subjectiveDataSon2List[0].modelRatings,
|
|
|
|
- item.subjectiveDataSon2List[0].modelReviews,
|
|
|
|
- ],
|
|
|
|
|
|
+ item.subjectiveDataSon2List[0].modelRatings,
|
|
|
|
+ item.subjectiveDataSon2List[0].modelReviews,
|
|
|
|
+ ],
|
|
) as any[]),
|
|
) as any[]),
|
|
],
|
|
],
|
|
]);
|
|
]);
|
|
@@ -170,7 +170,7 @@ const CompareIndicators: React.FC<{
|
|
return (
|
|
return (
|
|
<>
|
|
<>
|
|
{parseInt(carParam[0].typeKey) <= 5 ? (
|
|
{parseInt(carParam[0].typeKey) <= 5 ? (
|
|
- <TypeTable reviewType={parseInt(carParam[0].typeKey) - 1} carParam={carParam} />
|
|
|
|
|
|
+ <TypeTable reviewType={parseInt(carParam[0].typeKey)} carParam={carParam} />
|
|
) : (
|
|
) : (
|
|
<NVHCommpareIndeicators carParam={carParam} />
|
|
<NVHCommpareIndeicators carParam={carParam} />
|
|
)}
|
|
)}
|