Skip to content

列表 ProList

基于ProPagination 封装的带分页列表

1
2
3
4
5
6
7
8
9
10
共 30 条
  • 1
  • 2
  • 3
10 条/页前往
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

暂无数据

Released under the MIT License.