mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Rate: remove dependencie of Array.fill (#1011)
This commit is contained in:
parent
a092806f04
commit
533092e87f
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user