add monaco editor.
This commit is contained in:
@@ -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 },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user