解决vue项目中出现NavigationDulicated,navigating to current location(xxxx) is not allowed的问题

这个就是路由问题, 在路由中添加的相同的路由,咱们只须要重写路由就好了javascript 能够在router文件或者main.js文件里面引入vue-router,添加如下代码便可vue import Routers from "vue-router"; const routerPush = Routers.prototype.push Routers.prototype.push = fu
相关文章
相关标签/搜索