生命周期共有几个阶段?分别是什么? 一共是8 个阶段: beforeCreate(创建前)created(创建后)beforeMount(载入前)mounted(载入后)beforeUpdate(更新前)updated(更新后)beforeDestroy(销毁前)destroyed(销毁后) vue第一次页面加载会触发那几个钩子函数? beforeCreate (创建前)created (创建后)beforeMount(载入前)mounted(载入后) DOM渲染在哪个周期中就已经完成? mounted