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时触发了2次table的change事件 #18

Closed
xiaoxiaoyu995 opened this issue Mar 19, 2022 · 4 comments
Closed

切换pageSize时触发了2次table的change事件 #18

xiaoxiaoyu995 opened this issue Mar 19, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@xiaoxiaoyu995
Copy link

xiaoxiaoyu995 commented Mar 19, 2022

可通过 官方例子 https://www.surely.cool/doc/basic#ajax 查看
在切换 pagesize 时 发出了2个请求

@xiaoxiaoyu995 xiaoxiaoyu995 reopened this Mar 19, 2022
@tangjinzhou tangjinzhou added the bug Something isn't working label Mar 21, 2022
@tangjinzhou
Copy link
Contributor

下个版本修复,你可以先判断下是否相等 或者 用 watch 来规避这个问题

@tangjinzhou
Copy link
Contributor

update to 2.2.1

@deep-project
Copy link

2.3.3 这个bug依然存在,官网例子也同样请求两次

@tangjinzhou
Copy link
Contributor

tangjinzhou commented Jun 8, 2022

update to 2.3.4 @AlpinY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants