mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-28 12:23:43 +08:00
refactor(projects): 恢复pinia默认写法
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import type { MenuOption, DropdownOption } from 'naive-ui';
|
||||
import type { VNodeChild } from 'vue';
|
||||
import type { DropdownOption } from 'naive-ui';
|
||||
|
||||
/** 菜单项配置 */
|
||||
export type GlobalMenuOption = MenuOption & {
|
||||
export type GlobalMenuOption = {
|
||||
key: string;
|
||||
label: string;
|
||||
routeName: string;
|
||||
routePath: string;
|
||||
icon?: () => VNodeChild;
|
||||
children?: GlobalMenuOption[];
|
||||
};
|
||||
|
||||
/** 面包屑 */
|
||||
|
||||
Reference in New Issue
Block a user