feat: 新增标签题目弹窗组件

This commit is contained in:
2026-08-05 06:04:46 -06:00
parent a191bd78d4
commit 7694db7d41
2 changed files with 149 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ export async function getProblemList(
keyword: string,
author?: string,
contestID?: string,
tagId?: number,
) {
const endpoint = !!contestID ? "admin/contest/problem" : "admin/problem"
const res = await http.get<{ results: AdminProblem[]; total: number }>(
@@ -44,6 +45,7 @@ export async function getProblemList(
keyword,
author,
contest_id: contestID,
tag_id: tagId,
},
},
)