From 3efa2aff13f99175357a465ef4ce281ac8148ede Mon Sep 17 00:00:00 2001 From: edison Date: Sat, 6 Feb 2021 03:06:50 +0800 Subject: [PATCH] chore(runtime-core): remove unnecessary variables (#2680) --- packages/runtime-core/src/apiAsyncComponent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/runtime-core/src/apiAsyncComponent.ts b/packages/runtime-core/src/apiAsyncComponent.ts index 9efa728f..4da00504 100644 --- a/packages/runtime-core/src/apiAsyncComponent.ts +++ b/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,