用el-pagination和 el-table 做真分页 el-pagination 属性: page-sizes : 10 假如 一共 12条数据,el-pagination显示有两页,如果我点第二页时,第二页显示2条数据 我现在做如下操作:在第二页时,选中所有数据...
<template> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page" :page-sizes="[10, 20, 50, 100]" :page-size="size" :total="total" layout="total, sizes, prev, pager, next, jumper" /> </template> <script...
暂时还没有回答,开始写第一个回答
pagination-layout 分页控件的结构,每个类型用逗号分隔 string sizes, prev, pager, next, jumper, ->, total, slot total, prev, pager, next, jumper, sizes page-index-key 参数:页码数 的 key 值 string - pageIndex page-size-key 参数:每页展示个数 的 key 值 string - pageSize table-style 传递给...