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
我在下拉选项中选择1条/页时,点击重置,发现并没有返回到最开始加载时的5条/页.
下面是我关于重置的代码
reset(){ // 重置分页 this.pagination.pageSize=this.pagination.defaultPageSize //5 this.pagination.current=this.pagination.defaultCurrent //1 this.paginationInfo=null }
但是我发现只要在 this.pagination.pageSize=this.pagination.defaultPageSize //5 this.pagination.current=this.pagination.defaultCurrent //1
先进行个 this.pagination.pageSize=15就可以了,只要一开始赋的值不是和默认的一样就行了。
this.pagination.pageSize=15
reset(){ // 重置分页 this.pagination.pageSize=15 this.pagination.pageSize=this.pagination.defaultPageSize //5 this.pagination.current=this.pagination.defaultCurrent //1 this.paginationInfo=null }
我就有点纳闷了,不知道为什么会这样?
The text was updated successfully, but these errors were encountered:
Your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you! 为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!
Sorry, something went wrong.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
我在下拉选项中选择1条/页时,点击重置,发现并没有返回到最开始加载时的5条/页.
下面是我关于重置的代码
但是我发现只要在
this.pagination.pageSize=this.pagination.defaultPageSize //5
this.pagination.current=this.pagination.defaultCurrent //1
先进行个
this.pagination.pageSize=15
就可以了,只要一开始赋的值不是和默认的一样就行了。我就有点纳闷了,不知道为什么会这样?
The text was updated successfully, but these errors were encountered: