因為class 的方法在預設上是沒有被綁定(bound)的,沒綁定的話this 的值將會是undefined。 Normal function. constructor 內綁定。否則每次要當成props 傳下去時都需要 ...
確定! 回上一頁