fix: AppRouteRecordRaw types(from xingyu)

This commit is contained in:
YunaiV
2025-04-07 11:06:10 +08:00
parent b4d1c678fd
commit 6cb908e688
3 changed files with 23 additions and 26 deletions

View File

@@ -1,9 +1,8 @@
import type { Router, RouteRecordRaw } from 'vue-router';
import type { ExRouteRecordRaw, MenuRecordRaw, RouteRecordStringComponent } from '@vben-core/typings';
import type { ExRouteRecordRaw, MenuRecordRaw, RouteRecordStringComponent, AppRouteRecordRaw } from '@vben-core/typings';
import { filterTree, mapTree, isHttpUrl } from '@vben-core/shared/utils';
import type { AppRouteRecordRaw } from '@vben/types'; // TODO @芋艿:这里的报错,解决
/**
* 根据 routes 生成菜单列表