fix: bangumi rate
This commit is contained in:
@@ -303,7 +303,7 @@ function DoubanPageClient() {
|
|||||||
item.images.medium ||
|
item.images.medium ||
|
||||||
item.images.small ||
|
item.images.small ||
|
||||||
item.images.grid,
|
item.images.grid,
|
||||||
rate: item.rating?.score?.toString() || '',
|
rate: item.rating?.score?.toFixed(1) || '',
|
||||||
year: item.air_date?.split('-')?.[0] || '',
|
year: item.air_date?.split('-')?.[0] || '',
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -384,7 +384,7 @@ function HomeClient() {
|
|||||||
anime.images.grid
|
anime.images.grid
|
||||||
}
|
}
|
||||||
douban_id={anime.id}
|
douban_id={anime.id}
|
||||||
rate={anime.rating?.score?.toString() || ''}
|
rate={anime.rating?.score?.toFixed(1) || ''}
|
||||||
year={anime.air_date?.split('-')?.[0] || ''}
|
year={anime.air_date?.split('-')?.[0] || ''}
|
||||||
isBangumi={true}
|
isBangumi={true}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user