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);
}
浙公网安备 33010602011771号