From 5837db6bee0e4b77065a59085126b424e74cafe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E5=BC=80=E5=8D=8A=E4=BA=A9=E5=9C=B0?= <2572468699@qq.com> Date: Thu, 17 Nov 2022 17:36:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=B1=E8=B4=A5=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E5=90=8EisError=E4=B8=80=E7=9B=B4=E6=98=AF=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hooks/useBrowserLocation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hooks/useBrowserLocation.ts b/packages/hooks/useBrowserLocation.ts index b496ed94..499ef895 100644 --- a/packages/hooks/useBrowserLocation.ts +++ b/packages/hooks/useBrowserLocation.ts @@ -78,6 +78,7 @@ export function useBrowserLocation(options?: UseLocationOptions, cal?: (location }, options) }) .then((res) => { + isError.value = false location.value = res cal && cal(location) })