标签:div UNC import class return vue mic http turn
在使用ElementUi时点击同一个路由,页面报错

查询后解决方式如下
import Router from ‘vue-router‘
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated"}
标签:div UNC import class return vue mic http turn
原文地址:https://www.cnblogs.com/suiyide/p/11351057.html