refactor(projects): 恢复pinia默认写法

This commit is contained in:
Soybean
2022-01-16 20:13:11 +08:00
parent 28b5d22401
commit b2a4ddf5e3
34 changed files with 1242 additions and 965 deletions

View File

@@ -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[];
};
/** 面包屑 */