8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如我的业务接口,currentKey和pageSizeKey外边还包着一层对象:
{ "page": { "current": 1, "pageSize": 10, }, "otherParams": {...} }
是否只有开启manual,手动构建参数调用run这一条路可行?
没有找到相关的issue,目前有2个思路都行不通:
const _pageNo = ref(1); const _pageSize = ref(10); const { data, current, totalPage, loading, pageSize, changeCurrent } = usePagination(listAction, { defaultParams: [ { page: { pageNo: _pageNo.value, pageSize: _pageSize.value }, }, ], onSuccess: (data: any, params: any): any => { _pageNo.value = data.page.pageNo; _pageSize.value = data.page.pageSize; }, }); setInterval(() => { current.value++; }, 2000);
实际请求的参数中,默认的current会发生变化,而page.pageNo永远是1
The text was updated successfully, but these errors were encountered:
或者currentKey和pageSizeKey使用lodash.set实现
Sorry, something went wrong.
No branches or pull requests
问题描述 Problem Description
比如我的业务接口,currentKey和pageSizeKey外边还包着一层对象:
是否只有开启manual,手动构建参数调用run这一条路可行?
其他信息 Other information
没有找到相关的issue,目前有2个思路都行不通:
实际请求的参数中,默认的current会发生变化,而page.pageNo永远是1
The text was updated successfully, but these errors were encountered: