角色管理新增部门列表

This commit is contained in:
Teo
2025-09-22 17:50:22 +08:00
parent 31cf862392
commit 84b2a05e3c
6 changed files with 177 additions and 101 deletions

View File

@ -20,10 +20,11 @@ export const getMenu = (menuId: string | number): AxiosPromise<MenuVO> => {
};
// 查询菜单下拉树结构
export const treeselect = (): AxiosPromise<MenuTreeOption[]> => {
export const treeselect = (params?: any): AxiosPromise<MenuTreeOption[]> => {
return request({
url: '/system/menu/treeselect',
method: 'get'
method: 'get',
params
});
};