diff --git a/src/oj/learn/components/ExerciseFill.vue b/src/oj/learn/components/ExerciseFill.vue index ba20164..438506b 100644 --- a/src/oj/learn/components/ExerciseFill.vue +++ b/src/oj/learn/components/ExerciseFill.vue @@ -2,7 +2,7 @@ import hljs from "highlight.js/lib/core" import python from "highlight.js/lib/languages/python" import c from "highlight.js/lib/languages/c" -import { Exercise, ExerciseFillData } from "utils/types" +import type { Exercise, ExerciseFillData } from "utils/types" hljs.registerLanguage("python", python) hljs.registerLanguage("c", c) @@ -90,9 +90,7 @@ function inputWidth(idx: number): string { style="margin: 16px 0; border: 1.5px solid var(--n-border-color)" >

{{ data.question }}

@@ -109,10 +107,8 @@ function inputWidth(idx: number): string { whiteSpace: 'pre-wrap', margin: 0, }" - > -