feat(users): 实现用户管理页面功能增强

- 添加用户列表分页、搜索和角色筛选功能
- 实现用户批量选择与操作(删除/封禁)
- 引入ofetch库优化API请求处理
- 添加表格加载状态和错误处理组件
- 更新图标组件属性以支持新特性
- 修复页面跳转状态码问题(302改为303)
- 优化用户表格UI展示细节与交互体验
This commit is contained in:
Chaos
2025-12-01 17:27:02 +08:00
parent bd00e54acd
commit ab43a9a140
16 changed files with 442 additions and 271 deletions

View File

@@ -22,7 +22,7 @@
transition:fly={{ x: 100, duration: 300 }}
class="alert bg-base-100 text-base-content border-0 shadow-base-300/50 shadow-lg min-w-[200px] flex justify-start"
>
<span><Icon id={toastIconMap[t.type]} size="24"></Icon></span>
<span><Icon Cid={toastIconMap[t.type]} size="24"></Icon></span>
<span>{t.message}</span>
</div>
{/each}