diff --git a/webroot/AutoSa/static/js/main.js b/webroot/AutoSa/static/js/main.js index 6258f56ab..4e7e4768e 100644 --- a/webroot/AutoSa/static/js/main.js +++ b/webroot/AutoSa/static/js/main.js @@ -47,6 +47,7 @@ $.fn.webSocket = function(opt){ //去除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]; } ,