umi-plugin-keep-alive icon indicating copy to clipboard operation
umi-plugin-keep-alive copied to clipboard

[Bug] TypeError: Cannot read properties of undefined (reading 'location')

Open fzz14hao opened this issue 2 years ago • 0 comments

使用了"umi-plugin-keep-alive": "^0.0.1-beta.31"插件,启动项目之后报TypeError: Cannot read properties of undefined (reading 'location') 错误! 使用keep-alive页面才报错 未使用keep-alive页面正常运行

node版本 : 16.13.0 14.15.4 12.18.3 上述node版本都试过

有时重新安装多次依赖本地开发环境页面正常运行,但是打包发布到线也是报TypeError: Cannot read properties of undefined (reading 'location') 错误!

Umi Version: ^3.5.17 Node Version: 16.13.0 Platform: PC

fzz14hao avatar Jun 28 '22 09:06 fzz14hao