vue获取元素的宽带小数点

this.$refs['weekItem'][0].getBoundingClientRect().width

  

posted @ 2020-11-20 09:54  pyx204  阅读(226)  评论(0)    收藏  举报