react history 错误
Uncaught TypeError: history.getCurrentLocation is not a function
at Object.getCurrentLocation (useBasename.js:56)
at Object.getCurrentLocation (useQueries.js:64)
at syncHistoryWithStore (sync.js:108)
at Object.
at Object.
at __webpack_require__ (bootstrap 6cb1377…:50)
at webpackJsonpCallback (bootstrap 6cb1377…:21)
at client.js:1