Vue.js源码学习四 —— 渲染 Render 初始化过程学习 抓住主线,看渲染。$mount 方法执行了 mountComponent 方法,监听 updateComponent 方法并执行 _update 方法。_update 方法中执行 __patch__ 方法渲染 VNode。加油! 猫耳山在天边 2019-06-26 18:48:30