fix: 修复 RoleManagement.vue 中的参数名称错误并安装 terser 依赖
- 将 name 参数改为 roleName,匹配 RolePageRequest 类型定义 - 安装 terser 依赖以支持 Vite 生产构建
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user