Sfoglia il codice sorgente

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

edison 5 anni fa
parent
commit
3efa2aff13
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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,