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

axios.$get is no function #580

Open
cwz346852114 opened this issue Jun 27, 2022 · 2 comments
Open

axios.$get is no function #580

cwz346852114 opened this issue Jun 27, 2022 · 2 comments

Comments

@cwz346852114
Copy link

root.vue?62fa:402

   Uncaught (in promise) TypeError: _this2.$axios.$get is not a function
at _callee$ (root.vue?62fa:402:1)
at tryCatch (runtime.js?96cf:63:1)
at Generator.invoke [as _invoke] (runtime.js?96cf:294:1)
at Generator.eval [as next] (runtime.js?96cf:119:1)
at asyncGeneratorStep (asyncToGenerator.js?1da1:3:1)
at _next (asyncToGenerator.js?1da1:25:1)
at eval (asyncToGenerator.js?1da1:32:1)
at new Promise (<anonymous>)
at eval (asyncToGenerator.js?1da1:21:1)
at VueComponent.getInfoList (root.vue?62fa:402:1)
@cwz346852114
Copy link
Author

依赖重装了几次都有问题。 打印出来 axios对象内部没有$get方法

@kissu
Copy link

kissu commented Aug 8, 2022

Hi, do you mind giving more details about your setup? I do have the same issue, maybe because of Docker.
Do you have a vanilla setup? Mind sharing a reproduction if the project is simple enough?

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