fix(Rate): convert count type (#9307)
* fix(rate): convert count type * test(Rate): add count string prop case
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ export default defineComponent({
|
||||
props.readonly || props.disabled || !props.touchable;
|
||||
|
||||
const list = computed<RateListItem[]>(() =>
|
||||
Array(props.count)
|
||||
Array(+props.count)
|
||||
.fill('')
|
||||
.map((_, i) =>
|
||||
getRateStatus(
|
||||
|
||||
Reference in New Issue
Block a user