mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-25 13:51:04 +00:00
feat: 新增刷新缓存功能并优化系统初始化
refactor: 重构模型加载选项和CRUD预加载逻辑 fix: 修复日期范围查询格式问题 style: 优化前端组件样式和布局 perf: 提升字典数据更新性能 docs: 更新注释和文档说明 chore: 清理无用文件和代码 test: 更新测试用例 build: 添加vue-json-pretty依赖 ci: 优化初始化脚本和事务处理
This commit is contained in:
@@ -134,7 +134,8 @@ export function formatTree(nodes: any[]): any[] {
|
||||
return nodes.map(node => {
|
||||
const formattedNode = {
|
||||
value: node.id,
|
||||
label: node.name
|
||||
label: node.name,
|
||||
disabled: node.status === false || String(node.status) === 'false'
|
||||
};
|
||||
|
||||
if (node.children && node.children.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user