在js代码中
this.$nextTick(() => {
let container: any = this.$el.querySelector(".el-table__body-wrapper");
container.scrollTop = container.scrollHeight;
});
在js代码中
this.$nextTick(() => {
let container: any = this.$el.querySelector(".el-table__body-wrapper");
container.scrollTop = container.scrollHeight;
});