vue滚动条滚动到底部2021-07-02

this.$nextTick(() => {
        const e = document.getElementById("divId")
        e.scrollTop = e.scrollHeight;
      })

你可能感兴趣的:(vue滚动条滚动到底部2021-07-02)