报错如下图所示
vue项目运行时报Cannot read property ‘upgrade’ of undefined错误

主要是因为在vue.config.js中使用了跨域代理 , 如下图所示
vue项目运行时报Cannot read property ‘upgrade’ of undefined错误
主要原因是target字段后面是空的,如下图所示
vue项目运行时报Cannot read property ‘upgrade’ of undefined错误
解决方法就是让target字段不为空,就可以运行起来了
如下图所示
vue项目运行时报Cannot read property ‘upgrade’ of undefined错误

相关文章:

  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案