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

EventTargetPlugin 提示 Uncaught TypeError: Cannot set property path of [object Event] which has only a getter #15

Open
zwykanyun opened this issue Jan 14, 2025 · 0 comments

Comments

@zwykanyun
Copy link

wujie-polyfill.js?v=7ac3d4f1:1510 Uncaught TypeError: Cannot set property path of [object Event] which has only a getter
at XMLHttpRequest.setupPath (wujie-polyfill.js?v=7ac3d4f1:1510:12)

var polyfillEventPath = (appWindow) => {
function setupPath(e) {
var _a;
e.path = (_a = e.composedPath) == null ? void 0 : _a.call(e);
}
const rawAddEventListener = appWindow.EventTarget.prototype.addEventListener;

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

1 participant