From 0a487dfdf4233d17ea1b68c08515122675417d63 Mon Sep 17 00:00:00 2001 From: backgroundmin <49299170+backgroundmin@users.noreply.github.com> Date: Mon, 1 Jul 2024 04:26:54 +0000 Subject: [PATCH] fix: update timeout error term --- src/pages/oj/views/problem/Problem.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/oj/views/problem/Problem.vue b/src/pages/oj/views/problem/Problem.vue index 58e4a70f..ca13fee5 100755 --- a/src/pages/oj/views/problem/Problem.vue +++ b/src/pages/oj/views/problem/Problem.vue @@ -194,7 +194,7 @@

{{$t('결과 >')}}

+ :style="{color: (runResultData[index] === '오류' || runResultData[index] === '오류(시간초과)') ? 'black' : (runResultData[index] === '정답' ? 'green' : 'red')}">
{{$t(runResultData[index].replace(/ /g, "_"))}}
@@ -416,7 +416,7 @@

{{$t('결과 >')}}

+ :style="{color: (runResultData[index] === '오류' || runResultData[index] === '오류(시간초과)') ? 'black' : (runResultData[index] === '정답' ? 'green' : 'red')}">
{{$t(runResultData[index].replace(/ /g, "_"))}}
@@ -1031,6 +1031,8 @@ this.runResultData.push('오답') } else if (resultData[i] === 0) { this.runResultData.push('정답') + } else if (resultData[i] === 1) { + this.runResultData.push('오류(시간초과)') } else { this.runResultData.push('오류') }