From 6aed724db5d306c78bace59c877c25b5db07a9dc Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 15 Jun 2025 14:46:15 +0800 Subject: [PATCH] fix --- src/oj/learn/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/oj/learn/index.vue b/src/oj/learn/index.vue index 917f87f..ebc4d4f 100644 --- a/src/oj/learn/index.vue +++ b/src/oj/learn/index.vue @@ -114,6 +114,7 @@ const menu = computed(() => { async function init() { const res1 = await getTutorials() titles.value = res1.data + if (titles.value.length === 0) return const id = titles.value[step.value - 1].id const res2 = await getTutorial(id) tutorial.value = res2.data