列表 ProList
基于ProPagination 封装的带分页列表
vue
<script lang="ts" setup>
import { ProList } from '@vrx-arco/pro-components'
import { Card } from '@arco-design/web-vue'
</script>
<template>
<Card>
<ProList
style="height: 500px"
pagination
:data="
Array(30)
.fill(1)
.map((_, index) => index + 1)
"
>
<template #item="{ item }">
{{ item }}
</template>
</ProList>
</Card>
</template>
API
<pro-list>
Props
<pro-list>
Events
<pro-list>
Slots