修正評審評分清單失敗問題

This commit is contained in:
2025-09-21 01:30:26 +08:00
parent 049b53fa43
commit a36ab3c98d
17 changed files with 251 additions and 274 deletions

View File

@@ -79,11 +79,9 @@ export function TeamManagement() {
if (data.success) {
setApiTeams(data.data)
} else {
console.error('獲取團隊數據失敗:', data.message)
setError('獲取團隊數據失敗')
}
} catch (error) {
console.error('獲取團隊數據失敗:', error)
setError('獲取團隊數據失敗')
} finally {
setIsLoadingTeams(false)
@@ -105,11 +103,9 @@ export function TeamManagement() {
if (data.success) {
setAvailableUsers(data.data)
} else {
console.error('獲取用戶列表失敗:', data.message)
setError('獲取用戶列表失敗')
}
} catch (error) {
console.error('獲取用戶列表失敗:', error)
setError('獲取用戶列表失敗')
} finally {
setIsLoadingUsers(false)