在使用 vue-seamless-scroll 组件的时候发现父级页面 使用
<vue-seamless-scroll ref="seamlessScroll"><vue-seamless-scroll>
获取的 this.$refs.seamlessScroll
和在源码 mounted 打印的 this 竟然不一样...
是我理解错两个定义了吗 不应该是指向同一个组件吗,懵了 求大佬~~
求大佬解释下这个问题 我其他自定义的组件打印的 this 指向都是一样的 uid 也一样 ,有没有大佬研究过他的源码的 在线等!
2.1m questions
2.1m answers
62 comments
56.6k users