daiwei 4 месяцев назад
Родитель
Сommit
fcc15898b7
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      packages/runtime-vapor/src/dom/event.ts

+ 5 - 1
packages/runtime-vapor/src/dom/event.ts

@@ -1,6 +1,10 @@
 import { onEffectCleanup } from '@vue/reactivity'
 import { isArray } from '@vue/shared'
-import { ErrorCodes, callWithAsyncErrorHandling, currentInstance } from 'vue'
+import {
+  ErrorCodes,
+  callWithAsyncErrorHandling,
+  currentInstance,
+} from '@vue/runtime-dom'
 
 export function addEventListener(
   el: Element,