fix admin.
This commit is contained in:
1 parent
b3ec4ef63e
commit
477cece1e7
9 files changed
+153
-79
No files matched your search
+1
-3
@@ -44,9 +44,7 @@ export async function getProblemList(
|
||||
params[element] = searchParams[element]
|
||||
}
|
||||
})
|
||||
const res = await http.get("problem", {
|
||||
params,
|
||||
})
|
||||
const res = await http.get("problem", { params })
|
||||
return {
|
||||
results: res.data.results.map(filterResult),
|
||||
total: res.data.total,
|
||||
|
||||
Reference in new issue
Block a user