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

EasyLoading.show 增加个超时时间 #5

Closed
chd999 opened this issue Feb 29, 2020 · 5 comments
Closed

EasyLoading.show 增加个超时时间 #5

chd999 opened this issue Feb 29, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@chd999
Copy link

chd999 commented Feb 29, 2020

希望 EasyLoading.show 增加个超时时间

@nslogx
Copy link
Owner

nslogx commented Mar 2, 2020

@chd999 可以描述具体点需求么?

@chd999
Copy link
Author

chd999 commented Mar 3, 2020

比如在 5秒后,自动关闭loading框, 防止某些情况下,没有代码关闭longding框,一直是longding框,比如某些捕获不到的异常。

@chd999
Copy link
Author

chd999 commented Mar 3, 2020

@huangjianke 大概就是上面的具体描述了。

@chd999
Copy link
Author

chd999 commented Mar 3, 2020

最好是自动关闭本次的longding框, 比如 EasyLoading.show 我设置的超时时间是30秒, 代码关闭它是在第9秒的时候, 再第21秒的时候,我又打开了一个新的EasyLoading.show, 第30秒的时候, 不希望受第一次EasyLoading.show超时时间30秒的影响,不希望因为第一个Loading框的超时时间而关闭了第二个Loading框, 这可能是要考虑到的问题。

@nslogx
Copy link
Owner

nslogx commented Mar 3, 2020

比如在 5秒后,自动关闭loading框, 防止某些情况下,没有代码关闭longding框,一直是longding框,比如某些捕获不到的异常。

这个我考虑下,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants