-
Notifications
You must be signed in to change notification settings - Fork 225
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
HttpClientService无法引入使用 #24
Comments
@zzzhan http与http-client机制不一样,你得把原来所有用到HttpService请求的地方全部修改成HttpClientService |
http-client使用有什么前提吗?跟http的使用有什么不同?我不是升级哦,第一次clone了你的项目,在LoginComponent里只是简单地试一下用http-client.结果页面刷新后是空白的,也没报什么错。 @myopenresources |
找到问题了,需要在 |
@zzzhan 恩,是的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
把
LoginComponent
的HttpService
替换为HttpClientService
时没有报错,但登录页出不来。去掉constructor
中HttpClientService
的引用就可以。不知哪出了问题? @myopenresourcesThe text was updated successfully, but these errors were encountered: