From e97cb03d22072976abdbabb5b3bec1c1b51ecd5a Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Sun, 26 Aug 2018 20:00:38 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/global/scripts/common.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 314fe89af..bbf115de8 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -1164,6 +1164,8 @@ var getTotalLog=function(){ }else{ $(this).html("0"); } + }else{ + $(this).html("0"); } }); if(data.compileIds.length>0){ @@ -1204,6 +1206,10 @@ var GetLogTotal=function(_data){ totalTrs.each(function(){ $(this).html(timeout); }) + }else if(status !="success"){ + totalTrs.each(function(){ + $(this).html(failed); + }) } } });