vue+elementui项目中解决 Avoided redundant navigation to current location:错误

在router中的js里新增这样一段代码javascript const routerOther = Router.prototype.push Router.prototype.push = function push(location) { return routerOther.call(this, location).catch(err => err) }
相关文章
相关标签/搜索