Cannot read properties of undefined (reading 'originalPositionFor')


报错信息:Cannot read properties of undefined (reading 'originalPositionFor')

查询了一波没有找到答案,最后误打误撞解决了问题。

解决方法:

在你添加的那个页面中,查看有无添加,下面的那一段话,home是你路由调用的名字。