报错如下:
解决方法:
在路由器router里面的index.js里面加上下面这段代码就没事了
const originalPush = Router.prototype.push
const originalReplace = Router.prototype.replace
Router.prototype.push = function
报错如下:
解决方法:
在路由器router里面的index.js里面加上下面这段代码就没事了
const originalPush = Router.prototype.push
const originalReplace = Router.prototype.replace
Router.prototype.push = function