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

我修复了一个bug #56

Closed
ch656409110 opened this issue Jan 14, 2019 · 1 comment
Closed

我修复了一个bug #56

ch656409110 opened this issue Jan 14, 2019 · 1 comment
Assignees
Labels
bug 🐛 Something isn't working

Comments

@ch656409110
Copy link

你好,我修复了一个bug。
在分页列表非第一页的情况删除当前页面所有数据,会导致上一页显示无数据。
1
2

代码:
在src\components\table\index.js 115行加上
`

                if (r.data.length == 0 && that.localPagination.current != 1) {
                    that.localPagination.current--;
                    that.loadData();
                    return;
                }

`

@sendya
Copy link
Member

sendya commented Jan 14, 2019

thanks.

另外,如果已知如何修正问题,非常欢迎发起 Pull Request

@sendya sendya self-assigned this Jan 14, 2019
@sendya sendya added the bug 🐛 Something isn't working label Jan 14, 2019
@sendya sendya closed this as completed in 8ca1ae8 Jan 14, 2019
sendya added a commit that referenced this issue Feb 24, 2019
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

2 participants