refactor(frontend): update test config and optimize components
- Update vitest config to use new test directory structure - Optimize Dashboard, RoleManagement, UserManagement components - Improve signature utility with better error handling - Enhance component error handling and user feedback
This commit is contained in:
@@ -282,7 +282,7 @@ const fetchData = async () => {
|
||||
roleName: searchKeyword.value || undefined
|
||||
})
|
||||
dataSource.value = res.content
|
||||
pagination.total = res.totalElements
|
||||
pagination.total = Number(res.totalElements) || 0
|
||||
} catch (error) {
|
||||
handleApiError(error)
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user