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

大佬,项目里 全局loading实现,只能在MainPage里,那如果在登录页面,没有在MainPage里的其它页面,就不能使用这个了 #25

Open
JasonYinH opened this issue Apr 7, 2024 · 8 comments

Comments

@JasonYinH
Copy link

全局loading实现

@WinWang
Copy link
Owner

WinWang commented Apr 8, 2024

这个我有空看下,当时没有留意跨页面使用的场景验证,只在首页验证了

@JasonYinH
Copy link
Author

好的佬,正在学习您的项目,期待

@WinWang
Copy link
Owner

WinWang commented Apr 10, 2024

大兄弟,我测试了下跳转了页面loading也能展示啊,我测试用的是API 11测试的,API 9的我没有测试

@JasonYinH
Copy link
Author

测试的页面是在MainPage下吗

@JasonYinH
Copy link
Author

最近比较忙,没看

@WinWang
Copy link
Owner

WinWang commented Apr 17, 2024

不是,跨页面了,进了二级路由页面测试的

@JasonYinH
Copy link
Author

好的,我是在api9搞的

@JasonYinH
Copy link
Author

不知道是不是我写的有问题
image
MainPage里有个TestPage,
image
TestPage有个按钮,点击进登录页面,点击登录页面按钮调接口,没有loadding,
image
但是我要是把请求的接口放到TestPage里就可以显示loadding
image

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

2 participants