From c7f29a2e3007876952bbbb24210a23efcacd2b84 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Tue, 20 Aug 2024 16:36:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/checkresult/checkresultprint.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresultprint.html b/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresultprint.html index c86bedb..bb732ce 100644 --- a/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresultprint.html +++ b/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresultprint.html @@ -1567,7 +1567,7 @@ document.querySelectorAll('.' + className).forEach(function(element) { if (element.innerHTML === value) { - if(className === 'resultStarts'){ + if(className === 'resultStarts' && value !== ''){ element.innerHTML = foundObject.dictLabel; element.style.color = value === '0' ? 'green' : 'red'; }else{