mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Rate: remove dependencie of Array.fill (#1011)
This commit is contained in:
@@ -58,7 +58,7 @@ export default create({
|
|||||||
},
|
},
|
||||||
|
|
||||||
list() {
|
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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user