mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-31 06:22:56 +00:00
bug fix
This commit is contained in:
parent
9ad9a8812f
commit
4844f7861b
@ -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('<p>'+escapeString(obj.content.replace(regx,''))+'</p>');
|
||||
tag.animate({ scrollTop: tag[0].scrollHeight}, 1000);
|
||||
});
|
||||
return tag[0];
|
||||
} ,
|
||||
|
Loading…
Reference in New Issue
Block a user