Element-UI分页基本用法
参照官方文档,如下
相关参数文档也说明得很清楚了
配合使用显示数据
代码如下:
el-table 代码块
//userList 绑定的数据
<el-table :data="userList" border stripe>
<el-table-column type="index"></el-table-column>
//prop 为这一列绑定数据
<el-table-column label="姓名" prop="username"></el-table-column>
<el-table-column label="邮箱" prop="email"></el-table-column>
<el-t