Skip to content

Commit ef31ec7

Browse files
committed
bugfix:分配角色菜单时,调用接口 404 问题
1 parent a2fdff4 commit ef31ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/system/permission/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface PermissionAssignRoleDataScopeReqVO {
1818

1919
// 查询角色拥有的菜单权限
2020
export const getRoleMenuList = async (roleId: number) => {
21-
return await request.get({ url: '/system/permission/list-role-resources?roleId=' + roleId })
21+
return await request.get({ url: '/system/permission/list-role-menus?roleId=' + roleId })
2222
}
2323

2424
// 赋予角色菜单权限

0 commit comments

Comments
 (0)