fix: 修复 RoleManagement.vue 中的参数名称错误并安装 terser 依赖

- 将 name 参数改为 roleName,匹配 RolePageRequest 类型定义
- 安装 terser 依赖以支持 Vite 生产构建
This commit is contained in:
张翔 committed 2026-04-17 19:08:09 +08:00
1 parent 958fc73c15
commit f1c7c8702f
3 files changed
+81 -3

No files matched your search

@@ -279,7 +279,7 @@ const fetchData = async () => {
size: pagination.pageSize,
sortBy: sortInfo.sortBy,
sortOrder: sortInfo.sortOrder,
name: searchKeyword.value || undefined
roleName: searchKeyword.value || undefined
})
dataSource.value = res.content
pagination.total = res.totalElements