[bugfix] Rate: remove dependencie of Array.fill (#1011)

This commit is contained in:
neverland 2018-05-07 21:09:17 +08:00 committed by GitHub
parent a092806f04
commit 533092e87f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ export default create({
},
list() {
return new Array(this.count).fill(false).map((value, index) => index < this.value);
return Array.apply(null, { length: this.count }).map((value, index) => index < this.value);
}
},