#NavigationDuplicated

Vue router报错:NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated"}的解决方法

在main.js下添加:importRouterfrom'vue-router'Vue.use(Router)constoriginalPush=Router.prototype.pushRouter.prototype.push=functionpush(location){returnoriginalPush.ca...