From f0ddac0a949ba5548cd881d47a06fa95988b5c62 Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Tue, 23 Apr 2024 10:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B1=BB=E5=9E=8B=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/global.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 86af9e71..fb0314a7 100755 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -1,4 +1,4 @@ -import type { RouteRecordRaw } from 'vue-router' +import type { RouteRecordName, RouteRecordRaw } from 'vue-router' type RecursiveRequired = { [P in keyof T]-?: RecursiveRequired @@ -284,7 +284,7 @@ declare namespace Tabbar { interface recordRaw { tabId: string fullPath: string - routeName?: RouteRecordRaw.name + routeName?: RouteRecordName | null title?: string | (() => string) icon?: string name: string[]