用ES6写法,这里的props是获取不到的,需要在constructor里加入 // This binding is necessary to make `this` work in the callback