mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 20:55:14 +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:
@@ -192,7 +192,7 @@ class Settings(BaseSettings):
|
||||
UPLOAD_MACHINE: str = 'A' # 上传机器标识
|
||||
ALLOWED_EXTENSIONS: list[str] = [ # 允许的文件类型
|
||||
# 图片
|
||||
'.bmp', '.gif', '.jpg', '.jpeg', '.png', '.ico',
|
||||
'.bmp', '.gif', '.jpg', '.jpeg', '.png', '.ico', '.svg',
|
||||
# 文档
|
||||
'.csv', '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.html', '.htm', '.txt', '.pdf',
|
||||
# 压缩包
|
||||
|
||||
Reference in New Issue
Block a user