fix displaying number of label in admin chart

This commit is contained in:
Pig Fang 2020-07-01 16:08:00 +08:00
parent a26ddfbf19
commit 6b7e7a8370
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
3 changed files with 12 additions and 0 deletions

View File

@ -41,12 +41,22 @@ async function createChart(el: HTMLDivElement) {
minInterval: 1,
boundaryGap: false,
position: 'left',
axisPointer: {
label: {
precision: 0,
},
},
},
{
type: 'value',
minInterval: 1,
boundaryGap: false,
position: 'right',
axisPointer: {
label: {
precision: 0,
},
},
},
],
series: [

View File

@ -81,6 +81,7 @@
- Fixed that score calculation at upload page isn't consistent with that at back-end.
- Fixed that new texture name isn't checked when texture is renamed.
- Fixed that player isn't updated after closet item was removed.
- Fixed that number of label of chart in administration didn't rendered as integer.
## Removed

View File

@ -81,6 +81,7 @@
- 修复「材质上传」页面的积分计算与后端不一致的问题
- 修复重命名材质时不对新名称进行检查的问题
- 修复移除衣柜物品后不更新角色的问题
- 修复管理面板的图表中标签显示为小数的问题
## 移除