1,挂载也可以用 .$mount()
2,子组件中通过this.$root拿到实例的数据。截图中是子组件中
写vue项目时候 零星的笔记
原文:https://www.cnblogs.com/aiyr/p/10264868.html