diff --git a/src/admin/problem/detail.vue b/src/admin/problem/detail.vue index 6c82929..4f0202d 100644 --- a/src/admin/problem/detail.vue +++ b/src/admin/problem/detail.vue @@ -1,9 +1,13 @@ diff --git a/src/oj/problem/components/Editor.vue b/src/oj/problem/components/Editor.vue index 2656c7a..df36316 100644 --- a/src/oj/problem/components/Editor.vue +++ b/src/oj/problem/components/Editor.vue @@ -15,10 +15,6 @@ const props = defineProps() code.language = props.problem.languages[0] || "C" code.value = props.problem.template[code.language] || SOURCES[code.language] -function change(value: string) { - code.value = value -} - const editorHeight = computed(() => isDesktop.value ? "calc(100vh - 150px)" : "calc(100vh - 200px)" ) @@ -28,9 +24,8 @@ const editorHeight = computed(() =>
diff --git a/src/oj/problem/components/Form.vue b/src/oj/problem/components/Form.vue index aff551d..06b491c 100644 --- a/src/oj/problem/components/Form.vue +++ b/src/oj/problem/components/Form.vue @@ -1,6 +1,6 @@