fix: 修改分页参数名称,从current改为page
This commit is contained in:
parent
af0aa425c2
commit
44b2882975
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user