methods: {
scrollToBottom() {
this.$nextTick(() => {
var container = this.$el.querySelector(" 需要滚动条处于底部的容器 ");
container.scrollTop = container.scrollHeight;
})}
methods: {
scrollToBottom() {
this.$nextTick(() => {
var container = this.$el.querySelector(" 需要滚动条处于底部的容器 ");
container.scrollTop = container.scrollHeight;
})}