Skip to content
New issue

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

请教一个问题 pageSize设置后没有生效 #60

Closed
zhaojun0193 opened this issue Dec 7, 2017 · 2 comments
Closed

请教一个问题 pageSize设置后没有生效 #60

zhaojun0193 opened this issue Dec 7, 2017 · 2 comments

Comments

@zhaojun0193
Copy link

配置了pageSize没有生效,每次进入页面还是显示的30 但是我配置的是10
我是这样配置的
... ,ajax_type: 'POST' ,pageSize:10 ,sizeData:[10,20,30] ...

是我哪里还没有配置好吗?
谢谢

@zhaojun0193
Copy link
Author

找到原因了,我用的版本是2.2的版本 升级版本后问题解决了。还有请求参数的获取方式变得更加方便了:)
感谢作者~

@baukh789
Copy link
Owner

baukh789 commented Dec 8, 2017

每页显示条数在默认情况下会被记忆,这个是组件的一个特性。

配置项disableCache,你可以看一下API。可能对你有帮助。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants