父子组件生命周期 父子组件生命周期的执行顺序是:父亲beforecreate、父亲created、父亲beforeMount、孩子beforecreate、孩子created、孩子beforeMount、孩子mounted、父亲mounted、父亲beforeDestroy、孩子beforeDestroy、孩子destroyed、父亲destroyed; 孩子的mounted早于父亲mounted