初步构建起页面布局
This commit is contained in:
20
layouts/admin/types.uts
Normal file
20
layouts/admin/types.uts
Normal file
@@ -0,0 +1,20 @@
|
||||
// 统一类型定义文件,避免重复定义冲突
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user