this.$nextTick(() => {
var container = this.$el.querySelector('#talk');
container.scrollTop = container.scrollHeight
})
//注意如果这样还不行 请注意滚动的高度需要计算
let th = this;
let clientHeight = window.screen.availHeight;
th.h = 'height:'+clientHeight+'px';
//属性
.box {
overflow:auto;
}