feat(material-list): 添加动态分类支持
- 新增 hasCategories 状态,支持有/无分类两种模式 - 新增 fetchCategoriesFromBackend 函数,模拟后端分类数据 - 优化 initTabsData 函数,自动选中第一个分类(有分类时) - 动态显示 Tabs(仅在有分类时显示) - 无分类时直接显示全部资料列表 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Showing
1 changed file
with
59 additions
and
10 deletions
-
Please register or login to post a comment