日志Console

pull/1/head v1.6.1
xueli.xue 8 years ago
parent 6aab96d014
commit f8b8a1918c

@ -44,13 +44,18 @@
</header>
<div class="content-wrapper" >
<pre style="font-size:12px;position: absolute; height:100%;width:100%;" id="logConsolePre" >
<div id="logConsole"></div>
<li class="fa fa-refresh fa-spin" style="font-size: 20px;float: left;" id="logConsoleRunning" ></li>
<div><hr><hr></div>
</pre>
<section class="content">
<pre style="font-size:12px;position:relative;" >
<div id="logConsole"></div>
<li class="fa fa-refresh fa-spin" style="font-size: 20px;float: left;" id="logConsoleRunning" ></li>
<div><hr><hr></div>
</pre>
</section>
</div>
<!-- footer -->
<@netCommon.commonFooter />
</div>
<@netCommon.commonScript />

@ -58,8 +58,7 @@ $(function() {
pullFailCount = 0;
// scroll to bottom
//scrollTo(0, document.body.scrollHeight);
$('#logConsolePre').scrollTop( document.body.scrollHeight + 300 );
scrollTo(0, document.body.scrollHeight); // $('#logConsolePre').scrollTop( document.body.scrollHeight + 300 );
} else {
console.log('pullLog fail:'+data.msg);

Loading…
Cancel
Save