Explorar el Código

chore(runtime-core): remove unnecessary variables (#2680)

edison hace 5 años
padre
commit
3efa2aff13
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/runtime-core/src/apiAsyncComponent.ts

+ 2 - 2
packages/runtime-core/src/apiAsyncComponent.ts

@@ -47,8 +47,8 @@ export function defineAsyncComponent<
 
   const {
     loader,
-    loadingComponent: loadingComponent,
-    errorComponent: errorComponent,
+    loadingComponent,
+    errorComponent,
     delay = 200,
     timeout, // undefined = never times out
     suspensible = true,