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[]