Closed hyouka-oasis closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
npm i --save @smithyj/dva@2.4.2
我修复了这问题并发了一个包,该包基于 dva@2.4.1
进行修复,需要增加 webpack alias 配置
{
alias: {
dva: "@smithyj/dva"
}
}
Warning: Please use
require("history").createHashHistory
instead ofrequire("history/createHashHistory")
. Support for the latter will be removed in the next major release.老哥这个报错看着难受呀,每次都要改lib呢