1。 jquery
$(function() {
$('section').scrollTop( $('section')[0].scrollHeight);
});
2。Vue
updated: function updated() {
this.$nextTick(function() {
var div = document.getElementById('section');
div.scrollTop = div.scrollHeight;
});
}