关于vue生命周期的思考 1.生命周期 1.new Vue 对象 2.观察数据的变化 3.初始化事件 4.created 判断 el?vm.$mount(el) 5.template 模板初始化 6. 编译 7.ready vm.$destory()