We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
场景:查接口前显示loading,查完后隐藏loading。
Toast.loading(lang.ToastText.loading, 0); this.getMessageList(pageType) .then((data) => { Toast.hideToast(); const { list } = data; this.setState({ pageState: 'normal', messageList: list }); }) .catch((err) => { Toast.error(err.message); this.setState({ pageState: 'error', messageList: [] }); });
截图:
现在发现在接口太快的时候,Toast.hideToast()并没有真的将Toast隐藏,偶现。 接口返回在30-100ms;
目前,只能延长调用Toast.hideToast()的时间。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
场景:查接口前显示loading,查完后隐藏loading。
截图:
现在发现在接口太快的时候,Toast.hideToast()并没有真的将Toast隐藏,偶现。
接口返回在30-100ms;
目前,只能延长调用Toast.hideToast()的时间。
The text was updated successfully, but these errors were encountered: