mirror of https://github.com/jumpserver/jumpserver
bug fix
parent
99313cd2db
commit
931ac3dd1f
|
@ -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];
|
||||
} ,
|
||||
|
|
Loading…
Reference in New Issue