Error: Redirected when going from “/***“ to “/***“ via a navigation guard
解决方法将下方代码复制进router/index.js中即可constoriginalPush=VueRouter.prototype.pushVueRouter.prototype.push=functionpush(location,onResolve,onReject){if(onResolve||onReject)returnoriginalPush.call(this,location,