You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
642 B
31 lines
642 B
/** |
|
* @program: kicc-ui |
|
* @description: 菜单实体类 |
|
* 类型定义 |
|
* @author: wangxiang4 |
|
* @create: 2022/4/8 |
|
*/ |
|
import type { R } from '/#/axios'; |
|
import type { CommonEntity, Page } from '/@/api/common/data/entity'; |
|
|
|
/** 菜单查询参数 */ |
|
export type MenuParams = Page & Menu; |
|
|
|
/** 菜单对象 */ |
|
export interface Menu extends CommonEntity { |
|
id: string; |
|
name: string; |
|
parentId: string; |
|
type: string; |
|
path: string; |
|
component: string; |
|
permission: string; |
|
icon: string; |
|
keepAlive: string; |
|
hideMenu: string; |
|
sort: string; |
|
[key: string]: any; |
|
} |
|
|
|
/** 菜单响应对象 */ |
|
export type MenuResult = R<Menu[]>;
|
|
|