We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我的项目里同时引入了skywalking-client-js,这个库中也重写了XMLHttpRequest。 如果代码先走到了ajax-hook的重写XMLHttpRequest逻辑,再走到skywalking-client-js的重写XMLHttpRequest逻辑,skywalking重写的XMLHttpRequest就是ajax-hook重写后的XMLHttpRequest,这个时候XMLHttpRequest内的方法入参改变了,就会报错。
The text was updated successfully, but these errors were encountered:
你好,可以使用 codesandbox 给一个复现的地址吗?
Sorry, something went wrong.
报错的地方按图上改一下试试,skywalking-client-js 这个库写的有问题,这是原型指向错误了
No branches or pull requests
我的项目里同时引入了skywalking-client-js,这个库中也重写了XMLHttpRequest。
如果代码先走到了ajax-hook的重写XMLHttpRequest逻辑,再走到skywalking-client-js的重写XMLHttpRequest逻辑,skywalking重写的XMLHttpRequest就是ajax-hook重写后的XMLHttpRequest,这个时候XMLHttpRequest内的方法入参改变了,就会报错。
The text was updated successfully, but these errors were encountered: