mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: rating 显示向下取整
This commit is contained in:
1 parent
93ff1957d8
commit
218a14b91e
2 files changed
+2
-2
No files matched your search
@@ -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