启动之后打开页面报错 Warning: Please use require("history").createHashHistory instead of require("history/createHashHistory")
打开node_models/dva/lib/index.js
将
var _createHashHistory = _interopRequireDefault(require(“history/createHashHistory”));
改为
var _createHashHistory = _interopRequireDefault(require(“history”).createHashHistory);
启动之后打开页面报错 Warning: Please use `require("history").createHashHistor