1 parent
23844ae301
commit
d25b5dbe6d
268 files changed
+3684
-8861
No files matched your search
@@ -1,9 +1,7 @@
|
||||
import type { AdminProblemRow, AdminProblemListItem } from "utils/types"
|
||||
|
||||
// 把后端的列表项塑形成管理端列表行,与请求逻辑解耦。
|
||||
export function toAdminProblemRow(
|
||||
result: AdminProblemListItem,
|
||||
): AdminProblemRow {
|
||||
export function toAdminProblemRow(result: AdminProblemListItem): AdminProblemRow {
|
||||
return {
|
||||
id: result.id,
|
||||
_id: result._id,
|
||||
|
||||
Reference in new issue
Block a user