feat: 优化仪表盘界面样式和交互细节

This commit is contained in:
Ray.Hao
2026-02-24 09:28:34 +08:00
parent eb4c4b7462
commit c617d2943f
8 changed files with 152 additions and 125 deletions

View File

@@ -30,7 +30,7 @@ const RoleAPI = {
},
/** 获取角色的部门ID集合(自定义数据权限) */
getRoleDeptIds(roleId: string) {
return request<any, number[]>({ url: `${ROLE_BASE_URL}/${roleId}/dept-ids`, method: "get" });
return request<any, string[]>({ url: `${ROLE_BASE_URL}/${roleId}/dept-ids`, method: "get" });
},
/** 新增角色 */
create(data: RoleForm) {