From 85f1e58bccddc6eb460155902fd22cdf3221ac46 Mon Sep 17 00:00:00 2001 From: Tanimodori Date: Thu, 16 Jun 2022 19:04:50 +0800 Subject: [PATCH] =?UTF-8?q?types:=20=E4=BF=AE=E5=A4=8DRouteLocationRawEx?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF=20(vbenjs#1968)=20(#1970)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/web/usePage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/web/usePage.ts b/src/hooks/web/usePage.ts index ffe1ebc5..738f3e3d 100644 --- a/src/hooks/web/usePage.ts +++ b/src/hooks/web/usePage.ts @@ -7,7 +7,7 @@ import { unref } from 'vue'; import { useRouter } from 'vue-router'; import { REDIRECT_NAME } from '/@/router/constant'; -export type RouteLocationRawEx = Omit & { path: PageEnum }; +export type RouteLocationRawEx = RouteLocationRaw & { path: PageEnum }; function handleError(e: Error) { console.error(e); -- GitLab