From 993bc7c8a1809799e7d3ade8cb3b484827b50d57 Mon Sep 17 00:00:00 2001 From: Alex Liu <39984251+Mini-ghost@users.noreply.github.com> Date: Thu, 24 Mar 2022 20:13:41 +0800 Subject: [PATCH] doc: fix useAsyncData documentation error (#3879) --- docs/content/3.docs/1.usage/1.data-fetching.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/content/3.docs/1.usage/1.data-fetching.md b/docs/content/3.docs/1.usage/1.data-fetching.md index 1ace7954f3..6ac4d6f601 100644 --- a/docs/content/3.docs/1.usage/1.data-fetching.md +++ b/docs/content/3.docs/1.usage/1.data-fetching.md @@ -18,11 +18,14 @@ const { pending: Ref, refresh: (force?: boolean) => Promise, error?: any - watch: WatchSource[] } = useAsyncData( key: string, handler: (ctx?: NuxtApp) => Promise, - options?: { lazy: boolean, server: boolean } + options?: { + lazy: boolean, + server: boolean, + watch: WatchSource[] + } ) ```