From 931ac3dd1f4c966317beb61c7ea71ab29338f6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=BF=E5=8F=AC=E9=98=B3?= Date: Wed, 12 Nov 2014 18:21:34 +0800 Subject: [PATCH] bug fix --- webroot/AutoSa/templates/logView.html | 1 + 1 file changed, 1 insertion(+) diff --git a/webroot/AutoSa/templates/logView.html b/webroot/AutoSa/templates/logView.html index bde851d79..00a930477 100644 --- a/webroot/AutoSa/templates/logView.html +++ b/webroot/AutoSa/templates/logView.html @@ -74,6 +74,7 @@ //去除log中的颜色控制字符 var regx = /\x1B\[([0-9]{1,3}((;[0-9]{1,3})*)?)?[m|K]/g; tag.append('

'+escapeString(obj.content.replace(regx,''))+'

'); + tag.animate({ scrollTop: tag[0].scrollHeight}, 1000); }); return tag[0]; } ,