mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: rating 显示向下取整
This commit is contained in:
1 parent
93ff1957d8
commit
218a14b91e
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.8.18",
|
||||
"version": "4.8.19",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -80,7 +80,7 @@ const page = new NamedPage('user_detail', async () => {
|
||||
series: {
|
||||
name: 'Rating',
|
||||
type: 'line',
|
||||
data: history,
|
||||
data: history.map((i) => Math.floor(i)),
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user