From e294313b7126f5a792858c8d35eae45f79a17be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E6=83=A0?= Date: Sun, 28 Feb 2021 00:48:38 +0800 Subject: [PATCH] fix `resolveComponent ` return type error --- src/api/global-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/global-api.md b/src/api/global-api.md index 5dd179e22f..1f257d7a59 100644 --- a/src/api/global-api.md +++ b/src/api/global-api.md @@ -242,7 +242,7 @@ const AsyncComp = defineAsyncComponent({ Allows resolving a `component` by its name, if it is available in the current application instance. -Returns a `Component` or `undefined` when not found. +Returns a `Component` or the argument `name` when not found. ```js const app = createApp({})