diff --git a/src/oj/api.ts b/src/oj/api.ts
index f323de9..1ded8b3 100644
--- a/src/oj/api.ts
+++ b/src/oj/api.ts
@@ -254,8 +254,8 @@ export function getTutorial(id: number) {
return http.get("tutorial", { params: { id } })
}
-export function getTutorials() {
- return http.get("tutorials")
+export function getTutorials(type: "python" | "c") {
+ return http.get("tutorials", { params: { type } })
}
export function getAIDetailData(start: string, end: string, username?: string) {
diff --git a/src/oj/learn/index.vue b/src/oj/learn/index.vue
index 69303ec..42078d6 100644
--- a/src/oj/learn/index.vue
+++ b/src/oj/learn/index.vue
@@ -57,7 +57,7 @@
content-style="height: calc(100% - 44px); padding: 0;"
>
@@ -102,7 +102,7 @@
-
+
@@ -128,13 +128,19 @@
+
+