关于DOM的操作,需要($nextTick)
this.$nextTick(() => { this._initScroll() this._calculateHeight() }
这样才能确保DOM渲染好了,方便下一步计算DOM的属性值