在使用Vue-elementUI的过程中发现在浏览器的console中有这样的错误:Error:Avoided redundant navigation to current location: "/xxxxxx"
原因:对当前导航栏的重复点击导致的
解决办法:在vue项目下找到router目录,在index.js中添加以下代码
在使用Vue-elementUI的过程中发现在浏览器的console中有这样的错误:Error:Avoided redundant navigation to current location: "/xxxxxx"
原因:对当前导航栏的重复点击导致的
解决办法:在vue项目下找到router目录,在index.js中添加以下代码