摘要: 场景: new Vue({ el: '#app', render: h => h(App) }) 初始化渲染时在根实例的mountComponent方法中new Watcher() 在实例化watcher的过程中会调用updateComponent回调方法,这是会调用render函数,在执行rend 阅读全文
posted @ 2021-02-23 10:43 ltog 阅读(200) 评论(0) 推荐(0)