diff --git a/webroot/AutoSa/templates/logView.html b/webroot/AutoSa/templates/logView.html index 13a8cced26b12e047b56e8f8d4a9b8e5d0b003a4..0c77a34b5fa883d4c8aaad134ef07dbfcbf2a06d 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('<p>'+escapeString(obj.content.replace(regx,''))+'</p>'); + tag.animate({ scrollTop: tag[0].scrollHeight}, 1000); }); return tag[0]; } ,