fix: 修改分页参数名称,从current改为page

This commit is contained in:
Jie Zheng 2025-02-20 16:54:13 +08:00
parent af0aa425c2
commit 44b2882975
2 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@ function CRUD(options) {
if (crud.params[item] === null || crud.params[item] === '') crud.params[item] = undefined
})
return {
current: crud.page.page,
page: crud.page.page,
size: crud.page.size,
...crud.query,
...crud.params

View File

@ -81,7 +81,7 @@ export default {
if (this.params[item] === null || this.params[item] === '') this.params[item] = undefined
})
return {
current: this.page,
page: this.page,
size: this.size,
...this.query,
...this.params