mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-26 22:31:21 +00:00
fix: 调整前端组件样式和修复后端调度器问题
修复操作列按钮宽度计算问题,调整日志详情页标签宽度 优化任务状态选项标签,从"暂停"改为"停用" 移除后端调度器无用导入,添加job_id到日志记录 添加job_id查询参数到任务日志接口 优化前端应用列表页搜索表单和分页样式 修复Pydantic错误消息处理,去除冗余前缀 添加应用模型的前置处理和验证逻辑
This commit is contained in:
@@ -82,7 +82,7 @@ const getOperationMaxWidth = () => {
|
||||
const buttons = item.querySelectorAll(".el-button");
|
||||
// 获取每行按钮的总宽度
|
||||
totalWidth = Array.from(buttons).reduce((acc, button: any) => {
|
||||
return acc + button.scrollWidth + 22; // 每个按钮的宽度加上预留宽度
|
||||
return acc + button.scrollWidth + 14; // 每个按钮的宽度加上预留宽度
|
||||
}, 0);
|
||||
|
||||
// 获取最大的宽度
|
||||
|
||||
Reference in New Issue
Block a user