dva Please use `require(“history“).createHashHistory` instead of `require(“history/createHashHistory

警告信息:Warning: Please use require("history").createHashHistory instead of require("history/createHashHistory"). Support for the latter will be removed in the next major release.
解决方法:找到文件node_modules=>dva=>lib=>index.js,
找到require(“history”).createHashHistory,更改为:require(“history/createHashHistory”); 更改后需要重新启动项目


版权声明:本文为weixin_44136421原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。