From cf57de43595a604f114fa35e9600ed0e04fdcee4 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Wed, 14 Oct 2026 09:32:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8F=90=E4=BA=A4=E5=88=97=E8=A1=A8):=20?= =?UTF-8?q?=E3=80=8C=E9=87=8D=E6=96=B0=E5=88=A4=E9=A2=98=E3=80=8D=E4=B8=8D?= =?UTF-8?q?=E7=94=A8=E5=86=8D=E7=82=B9=E3=80=8C=E2=8B=AF=E3=80=8D=E6=89=BE?= =?UTF-8?q?=E4=BA=86=EF=BC=8C=E5=8F=B3=E6=A0=8F=E9=A1=B6=E4=B8=8A=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E4=B8=80=E4=B8=AA=E5=9B=BE=E6=A0=87=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=88=E5=92=8C=E3=80=8C=E6=96=B0=E9=A1=B5=E9=9D=A2=E6=89=93?= =?UTF-8?q?=E5=BC=80=E3=80=8D=E6=8C=A8=E7=9D=80=EF=BC=89=EF=BC=8C=E5=88=A4?= =?UTF-8?q?=E9=A2=98=E4=B8=AD=E7=82=B9=E4=B8=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- .../submission/components/SubmissionPane.vue | 35 ++++++++----------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/apps/web/src/oj/submission/components/SubmissionPane.vue b/apps/web/src/oj/submission/components/SubmissionPane.vue index 5397844..b9996f4 100644 --- a/apps/web/src/oj/submission/components/SubmissionPane.vue +++ b/apps/web/src/oj/submission/components/SubmissionPane.vue @@ -126,18 +126,6 @@ function caseColor(result: number) { } const canRejudge = computed(() => props.teacher && !props.contest) -/** - * 老师的「⋯」只剩重新判题:不常用、点错了会真的重判,所以不摆在外面。 - * 复制两项和学生一样摆出来(原来也收在这里,老师要多点一下) - */ -const moreOptions = computed(() => - canRejudge.value ? [{ label: "重新判题", key: "rejudge" }] : [], -) - -function handleMore(key: string) { - if (key === "rejudge") emit("rejudge", props.row.id) -} - function openStandalone() { window.open("/submission/" + props.row.id, "_blank") } @@ -242,16 +230,19 @@ function openStandalone() { > - + - - - - + +