创建实例是从外到内的,渲染是从内到外的
父beforeCreate>父created>父beforeMount>子beforeCreate>子created>子boforeMount>子Mounted>父Mounted>父beforeUpdate>子beforeUpdeta>子updated>父updated>父beforeDestroy>子beforeDestroy>子destroyed>父destroyed
父组件create先初始化创建js模型,然后子组件创建js模型 ;
子组件渲染完之后,父组件再渲染