mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
fix(Skeleton): row为字符串数字时不能创建多行 (#10172)
This commit is contained in:
@@ -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)) }} />
|
||||
|
Reference in New Issue
Block a user