Files
medical-mall/layouts/admin/types.uts

20 lines
306 B
Plaintext

// 统一类型定义文件,避免重复定义冲突
export type MenuItem = {
id: string
title: string
icon: string
path?: string
children?: MenuItem[]
}
export type UserInfo = {
nickname: string
role: string
}
export type TagItem = {
path: string
title: string
isAffix?: boolean
}