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

ajax情况下,下拉框翻页到最后一页后重新键入关键字,显示not found的问题 #74

Open
firstrose opened this issue Sep 21, 2018 · 0 comments
Labels

Comments

@firstrose
Copy link

如题。

比如说,完整的下拉选项较多,有5页。翻页到最后一页。但是键入关键字后搜索得到的下拉项较少,比如只有1页。由于之前已经翻到第5页,页码已经大于筛选后的总页数,这时候就会显示not found。

在SelectPage.prototype.checkValue的"self.prop.first_show = false;"一行后加入
self.prop.current_page = 1;可以修复

根据我的测试,加在这里是可以搞定的。不过我不确定,是不是有别的更加合适的修改点。

@TerryZ TerryZ added the bug label Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants