element-plus 常用控件
分页
<el-pagination background layout="prev, pager, next" :total="total" @current-change="currentChange" />
const total = ref(100); function currentChange(pageIndex: number) { console.log(pageIndex); }
<el-pagination background layout="prev, pager, next" :total="total" @current-change="currentChange" />
const total = ref(100); function currentChange(pageIndex: number) { console.log(pageIndex); }