mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 重构项目的TS类型架构,去除interface文件夹
This commit is contained in:
@ -8,7 +8,6 @@ import {
|
||||
transformAuthRoutesToSearchMenus,
|
||||
getCacheRoutes,
|
||||
} from '@/utils';
|
||||
import type { GlobalMenuOption, SearchMenu } from '@/interface';
|
||||
import { useTabStore } from '../tab';
|
||||
|
||||
interface RouteState {
|
||||
@ -19,7 +18,7 @@ interface RouteState {
|
||||
/** 菜单 */
|
||||
menus: GlobalMenuOption[];
|
||||
/** 搜索的菜单 */
|
||||
searchMenus: SearchMenu[];
|
||||
searchMenus: AuthRoute.Route[];
|
||||
/** 缓存的路由名称 */
|
||||
cacheRoutes: string[];
|
||||
}
|
||||
|
Reference in New Issue
Block a user