feat: 添加异常日志功能并优化UI样式

refactor: 重构后端查询逻辑和API响应处理

fix: 修复用户角色更新和文件上传问题

test: 添加前端性能测试脚本和E2E测试用例

chore: 更新依赖版本和配置文件

docs: 添加环境检查脚本和测试文档

style: 统一表格标签样式和路由命名

perf: 优化前端页面加载速度和响应时间
This commit is contained in:
张翔
2026-03-24 13:32:20 +08:00
parent a97d317e4a
commit be5d5ede90
184 changed files with 11231 additions and 1903 deletions
@@ -69,6 +69,10 @@ const onFinish = async () => {
loading.value = true
try {
const res: any = await request.post('/auth/login', formState)
if (res.code === 401) {
ElMessage.error(res.message || '登录失败')
return
}
localStorage.setItem('token', res.token)
localStorage.setItem('userId', res.userId)
localStorage.setItem('username', res.username)