摘要:
vue运行机制: 当我们new Vue的时候,实际上在构造函数里 1.执行了一个init方法,init方法会初始化data,props,computed,watch,事件监听,派发生命周期钩子等等, 2.得到Vue实例后进行挂载$mount(最终转换成render),查看$mount方法的源码,$m 阅读全文
posted @ 2020-05-12 23:29
znLam
阅读(402)
评论(0)
推荐(0)
浙公网安备 33010602011771号