From 8521c67e680a20f9a8db04a3c74344c152c28819 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 9 Apr 2026 08:21:08 -0600 Subject: [PATCH] fix --- src/oj/problem/components/EditorForTest.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/oj/problem/components/EditorForTest.vue b/src/oj/problem/components/EditorForTest.vue index 429082b..62ac570 100644 --- a/src/oj/problem/components/EditorForTest.vue +++ b/src/oj/problem/components/EditorForTest.vue @@ -74,14 +74,7 @@ const runCode = async () => { const languageOptions: DropdownOption[] = problem.value!.languages.map( (it) => ({ - label: () => - h("div", { style: "display: flex; align-items: center;" }, [ - h("img", { - src: `/${it}.svg`, - style: { width: "16px", height: "16px", marginRight: "8px" }, - }), - LANGUAGE_SHOW_VALUE[it], - ]), + label: () => LANGUAGE_SHOW_VALUE[it], value: it, }), )