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

关于设置disable切换后,onLoad无法正常执行问题 #608

Closed
Jambooo opened this issue Aug 24, 2022 · 3 comments
Closed

关于设置disable切换后,onLoad无法正常执行问题 #608

Jambooo opened this issue Aug 24, 2022 · 3 comments

Comments

@Jambooo
Copy link

Jambooo commented Aug 24, 2022

参考的ClassicFooter的example写法,当我数据不足一页时,设置disable为true,当我重新获取数据,并设置为false时,onLoad内函数未执行
image
image
image

@Jambooo
Copy link
Author

Jambooo commented Aug 24, 2022

这是_footerProperties
image
image

@EgoisteEnvie
Copy link

if (_task == null) {
if (_mode != IndicatorMode.inactive) {
_mode = IndicatorMode.inactive;
}
}

修改成

    if (_task == null) {
      if (_mode != IndicatorMode.inactive) {
        _mode = IndicatorMode.inactive;
      }
      return;
    }

Debug 发现没有 task 的时候 依旧执行了更新模式代码 导致 Mode 执行成为 armed 状态 无法执行 _onTask 任务

@xuelongqy
Copy link
Owner

3.2.1 已解决

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

3 participants