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{