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   迷途行者  阅读(444)  评论(0编辑  收藏  举报

努力加载评论中...

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示