mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
fix(Skeleton): row为字符串数字时不能创建多行 (#10172)
This commit is contained in:
@@ -78,7 +78,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const renderRows = () =>
|
const renderRows = () =>
|
||||||
Array(props.row)
|
Array(+props.row)
|
||||||
.fill('')
|
.fill('')
|
||||||
.map((_, i) => (
|
.map((_, i) => (
|
||||||
<div class={bem('row')} style={{ width: addUnit(getRowWidth(i)) }} />
|
<div class={bem('row')} style={{ width: addUnit(getRowWidth(i)) }} />
|
||||||
|
Reference in New Issue
Block a user