pengchenggang

判断 tableZen 是否有 横向滚动条

 

const outWidth = this.$refs.tableInnerZen.$el.clientWidth
        const inWidth = this.$refs.tableInnerZen.$children[0].$el.clientWidth

 

分类:

技术点:

相关文章: