<swiper-page class="swiper-page" :pid="page.pageid" :parentId="pageId" ref="page"></swiper-page>
mounted里面:
console.log(this.$refs)
console.log(this.$refs.page)
控制台console.log(this.$refs)输出正确,成功打印对象,console.log(this.$refs.page)则返回undefined,无法获取对象的属性值。其他平台正常