Improve compatibility

This commit is contained in:
jiaming743 2020-04-25 16:42:41 +08:00
parent 5ee1d408b6
commit 9a039b3f10
1 changed files with 1 additions and 1 deletions

View File

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