vue报错Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location...
时出现如下报错,百度了一下,好像是vue-router版本不兼容的问题,解决方法为在router/index.js文件中加入一段代码报错提示信息报错代码需要插入的代码段constoriginalPush=VueRouter.prototype.pushVueRouter.prototype.push