mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Skeleton): row为字符串数字时不能创建多行 (#10172)
This commit is contained in:
parent
216ee2945d
commit
b0fbff0646
@ -78,7 +78,7 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
const renderRows = () =>
|
||||
Array(props.row)
|
||||
Array(+props.row)
|
||||
.fill('')
|
||||
.map((_, i) => (
|
||||
<div class={bem('row')} style={{ width: addUnit(getRowWidth(i)) }} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user