menu.ts 276 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 import type { RouteRecordStringComponent } from '@vben/types'; import { requestClient } from '#/forward'; /** * 获取用户所有菜单 */ async function getAllMenus() { return requestClient.get<RouteRecordStringComponent[]>('/menu/getAll'); } export { getAllMenus };