mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-26 22:31:21 +00:00
fix(monitor): 修复定时任务权限标识错误
refactor(base_crud): 优化数据权限过滤逻辑 fix(user): 修正用户详情部门查询错误 feat(menu): 添加菜单标题字段并优化路由更新 style(auth): 优化登录页面背景样式 fix(profile): 修复表单样式问题 perf(redis): 优化缓存清除逻辑 fix(role): 移除默认角色操作限制 chore: 清理无用导入和注释
This commit is contained in:
@@ -103,8 +103,13 @@ export interface MenuForm {
|
||||
hidden?: boolean;
|
||||
always_show?: boolean;
|
||||
title?: string;
|
||||
params?: { key: string; value: string; }[];
|
||||
params?: KeyValue[];
|
||||
affix?: boolean;
|
||||
status?: boolean;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export interface KeyValue {
|
||||
key: string;
|
||||
value: string;
|
||||
}
|
||||
@@ -67,7 +67,7 @@ export const UserAPI = {
|
||||
},
|
||||
|
||||
getUserDetail(query: number) {
|
||||
return request<ApiResponse>({
|
||||
return request<ApiResponse<UserInfo>>({
|
||||
url: `/system/user/detail/${query}`,
|
||||
method: "get",
|
||||
});
|
||||
@@ -246,9 +246,9 @@ export interface UserForm {
|
||||
dept_id?: number;
|
||||
dept_name?: string;
|
||||
role_ids?: number[];
|
||||
roleNames?: string;
|
||||
roleNames?: string[];
|
||||
position_ids?: number[];
|
||||
positionNames?: string;
|
||||
positionNames?: string[];
|
||||
password?: string;
|
||||
gender?: number;
|
||||
email?: string;
|
||||
|
||||
Reference in New Issue
Block a user