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

例子中单Minirefresh容器的问题 #58

Open
HotWordland opened this issue Feb 28, 2022 · 0 comments
Open

例子中单Minirefresh容器的问题 #58

HotWordland opened this issue Feb 28, 2022 · 0 comments

Comments

@HotWordland
Copy link

在某一页后达到了无更多数据的状态,再进行切换顶部的tab后,上拉加载就失效了.

视频:

newtest1.mp4

我调试了debug文件的源码 发现是这里的问题:
文件: dist/debug/minirefresh.js

 {
        key: "endUpLoading",
        value: function endUpLoading(isFinishUp) {
          if (this.upLoading) {
            this.upLoading = false;
            if (isFinishUp) {
              this.isFinishUp = true;
            } else {
              // 加上这句就没有问题了 不知道兄弟是不是忘记写了
              this.isFinishUp = false;
              this._loadFull();
            }
          }
        },
      },
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

1 participant