_name: "NavigationDuplicated", name: "NavigationDuplicated", message: "Navigating to current locatio

缘由:在使用ElementUi时点击同一个路由,页面报错. 在当前页面添加:javascript import Router from 'vue-router' const originalPush = Router.prototype.push; Router.prototype.push = function push(location) { return originalPush.cal
相关文章
相关标签/搜索