componentDidMount. componentDidMount 是指當component 中畫面第一次渲染完後觸發的生命週期函數。一般的用法都是在component 渲染完後會執行一些初始化的function。
確定! 回上一頁