From 52d2fc6d92cc3b0e1817f932a080bf23980b95b9 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Sun, 10 May 2026 22:34:51 +0800 Subject: [PATCH] fix --- src/oj/learn/components/ExerciseFill.vue | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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, }" - > -