vue出现Uncaught (in promise) NavigationDuplicated {_name: "N的问题
在router文件夹的index.js中加一段代码即可:const originalPush = VueRouter.prototype.pushVueRouter.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err)}因为遇到...
转载
2020-01-02 16:43:54 ·
479 阅读 ·
0 评论