Bug Fixes:#59 修复胶囊图数值错误

This commit is contained in:
wzx 2020-04-07 17:54:33 +08:00
parent 4b69668327
commit b99410ef94
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export default {
const oneFifth = maxValue / 5 const oneFifth = maxValue / 5
this.labelData = new Array(6).fill(0).map((v, i) => Math.ceil(i * oneFifth)) this.labelData = new Set(new Array(6).fill(0).map((v, i) => Math.ceil(i * oneFifth)))
} }
}, },
mounted () { mounted () {