-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
xhr.addEventListener is not a function(…) #127
Comments
#105 重复 |
Hey this is not a repeat of issue #105 i guess. Please Help with this |
@geetwo just add the code below to the file MockXMLHttpRequest.prototype.upload = xhr.upload; |
@Telanx the better way is to change the file
确保在生产模式下打包出来的代码正常使用。 |
@nooldey 新版本的mockjs需要加到哪一行呢 |
@losymear 一样的放在216行就好. 我的mockjs版本是1.0.1-beta3
|
我fork修复了这个问题 |
vue
vue-resource
webpack
文件上传提示xhr.addEventListener is not a function(…)
,好像是这个方法被重命名成了xhr.addEventListene
即少了个r
The text was updated successfully, but these errors were encountered: