Original link: https://chegva.com/5588.html
Recently, I cooperated with my colleagues to migrate several front-end vue pages of element ui to the front-end of the platform, and the back-end code has not changed. As a result, after downloading the . After the interference factors of the operating environment, I still can’t find the reason. I also checked a lot of information on the Internet, and I suspect that it is a problem with axios:
I tried to change the format of the returned file, such as the stream, but still reported an error. Finally, my colleague found an article on the Internet, only to realize that it was caused by mock.js, just comment it out~, it’s really pitiful! Mark it.
This article is transferred from: https://chegva.com/5588.html
This site is only for collection, and the copyright belongs to the original author.