* chore: init project * chore: install element-plus * chore: locale config * fix: eslint error * chore: merge from main * fix: lint * chore: finish todo * chore: update comments * chore: update * fix: lint error * chore: add unplugin-element-plus * chore: add useElementPlusDesignTokens * chore: configure some color
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import type { RouteRecordStringComponent } from '@vben/types';
|
|
|
|
import { requestClient } from '#/api/request';
|
|
|
|
/**
|
|
* 获取用户所有菜单
|
|
*/
|
|
export async function getAllMenus() {
|
|
return requestClient.get<RouteRecordStringComponent[]>('/menu/all');
|
|
}
|