pull/105/head
Apex Liu 2017-11-15 17:58:18 +08:00
parent 29200ae84c
commit 04cc466ea2
1 changed files with 2 additions and 1 deletions

View File

@ -161,6 +161,7 @@ $app.on_init = function (cb_stack, cb_args) {
html.push('</p>')
}
$app.dom.steps_detail.html(html.join(''));
$('html').animate({scrollTop: $(document).height()}, 300);
if (!ret.data.running) {
if (all_ok) {
@ -174,7 +175,7 @@ $app.on_init = function (cb_stack, cb_args) {
$app.dom.step2.show('fast', function () {
// 确保页面滚动到最低端,使得下一步提示能够被看到。
document.body.scrollTop = document.body.scrollHeight;
$('html').animate({scrollTop: $(document).height()}, 300);
});
}
return;