fix: 修复类型定义

This commit is contained in:
Hooray Hu
2024-04-23 10:27:33 +08:00
parent 14583bbaa5
commit 449495f03d
+2 -2
View File
@@ -1,4 +1,4 @@
import type { RouteRecordRaw } from 'vue-router'
import type { RouteRecordName, RouteRecordRaw } from 'vue-router'
type RecursiveRequired<T> = {
[P in keyof T]-?: RecursiveRequired<T[P]>
@@ -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[]