@rxdrag/website-lib-core 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib-core",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -136,7 +136,7 @@ export class PageLoader implements IPageLoader {
136
136
  // 移除所有事件监听器
137
137
  const noop = () => {};
138
138
  this.doc.removeEventListener("astro:after-swap", noop);
139
- this.doc.removeEventListener("DOMContentLoaded", noop);
139
+ this.doc.removeEventListener("astro:page-load", noop);
140
140
 
141
141
  // 清空回调集合
142
142
  this.callbacks.clear();