diff --git a/webroot/AutoSa/templates/logView.html b/webroot/AutoSa/templates/logView.html index 13a8cced2..0c77a34b5 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]; } ,