Cannot read properties of undefined (reading 'originalPositionFor')

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

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

解决方法:

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

<script>
    export default {
        name: 'home',
        data() {
            return {}
        }
    }
</script>

 

posted on 2022-02-04 23:12  迷途行者  阅读(438)  评论(0编辑  收藏  举报

导航