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
I try to rewrite the fetch to fetch request error event to intercept, code 164 line.
However, this error occurs when initiating a fetch request: TypeError: Failed to execute 'fetch' on Window': Illegal invocation.
TypeError: Failed to execute 'fetch' on Window': Illegal invocation
In the fetch . I try to through bind to fix this, but not ideal
bind
window.fetch.bind(window, 'httas') .then(res => console.log(res.json())) .then(async res => console.log('=====')) .catch(error => console.log(error, '--=-=-=-=-=-='));
The text was updated successfully, but these errors were encountered:
inblossoms
No branches or pull requests
I try to rewrite the fetch to fetch request error event to intercept, code 164 line.
However, this error occurs when initiating a fetch request:
TypeError: Failed to execute 'fetch' on Window': Illegal invocation
.In the fetch . I try to through
bind
to fix this, but not idealwindow.fetch.bind(window, 'httas')
.then(res => console.log(res.json()))
.then(async res => console.log('====='))
.catch(error => console.log(error, '--=-=-=-=-=-='));
The text was updated successfully, but these errors were encountered: