add monaco editor.

This commit is contained in:
2023-01-04 19:09:40 +08:00
parent 521a602a51
commit 56e28abfa6
6 changed files with 126 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ export function getRandomProblemID() {
return http.get("pickone")
}
export function getProblem(id: number) {
export function getProblem(id: string) {
return http.get("problem", {
params: { problem_id: id },
})