<el-pagination
class="u-margin-top-15"
layout="total, sizes, prev, pager, next, jumper"
total={state.total}
current-page={state.list_form.page}
onSizeChange={(val) => handleSizeChange(val)}
onCurrentChange={(val) => handleCurrentChange(val)}
page-sizes={[10, 20, 30, 40, 50, 100]}
page-size={state.list_form.pageSize}
/>
const handleSizeChange = (val: any) => {
console.log('每页' + val + ' 条')
state.list_form.pageSize = val
state.orderList = []
FindOrderList()
}
const handleCurrentChange = (val: any) => {
console.log('当前页: ' + val)
isLoading()
state.list_form.page = val
state.orderList = []
FindOrderList()
}