diff --git a/package.json b/package.json index 6f2bb4e1..9ee9f5f8 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,6 @@ "axios": "^1.13.2", "codemirror": "^5.65.20", "codemirror-editor-vue3": "^2.8.0", - "default-passive-events": "^2.0.0", "echarts": "^6.0.0", "element-plus": "^2.11.8", "exceljs": "^4.4.0", diff --git a/src/main.ts b/src/main.ts index 74fe30d9..253922b2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,9 +13,6 @@ import "uno.css"; // 过渡动画 import "animate.css"; -// 自动为某些默认事件(如 touchstart、wheel 等)添加 { passive: true },提升滚动性能并消除控制台的非被动事件监听警告 -import "default-passive-events"; - const app = createApp(App); // 注册插件 app.use(setupPlugins);