原文:TypeError: Cannot read property 'getState' of undefined

TypeError: Cannot read property getState of undefined anonymous function D: san React jiankang node modules react redux . . react redux es components Provider.js: , store var previousState useMemo fun ...

2020-03-10 22:19 1 1332 推薦指數:

查看詳情

TypeError: Cannot read property 'setData' of undefined

剛剛入手小程序沒多久 今天在寫小程序時用到 this.setData時會報錯 這個讓我想起了 react this.setState({}) 一般在react中寫點擊事件的時候 都 ...

Thu Jul 02 22:39:00 CST 2020 0 852
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM