... mounted->父组件的mounted. 总的来说就是先渲染父组件,在渲染子组件;在挂载时,是先挂载子组件,再挂载父组件;. 补充:子组件更新过程:父beforeUpdate->子 ...
確定! 回上一頁