摘要: 1.示例组件结构 <template> <div ref="myBox"> <v-page :ref="myPage"> </v-page> </div> </template> 2.获取距离顶部的距离 // ref=myBox元素 this.$refs.myBox.getBoundingClien 阅读全文
posted @ 2020-03-23 16:55 一丝心情 阅读(7033) 评论(0) 推荐(0)