在页面中任意地方插入下方代码
Object.defineProperty(Event.prototype, "path", {
get() {
return this.composedPath();
},
});
参考文章
在页面中任意地方插入下方代码
Object.defineProperty(Event.prototype, "path", {
get() {
return this.composedPath();
},
});
参考文章