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, }), )