diff --git a/src/api.ts b/src/api.ts index de7781b..3fb156b 100644 --- a/src/api.ts +++ b/src/api.ts @@ -92,17 +92,11 @@ export const Tutorial = { async get(display: number) { const res = await http.get(`/tutorial/${display}`) return res.data - // const res = await fetch(`/tutorial/${display}/README.md`) - // const content = await res.text() - // return { content } }, async listDisplay() { const res = await http.get("/tutorial/display") return res.data - // const res = await fetch("/tutorial/README.md") - // const text = await res.text() - // return text.split("\n").map((item) => Number(item.split(" ")[0])) }, } diff --git a/src/pages/Submission.vue b/src/pages/Submission.vue index 9832558..38b03cc 100644 --- a/src/pages/Submission.vue +++ b/src/pages/Submission.vue @@ -1,5 +1,5 @@