1.el-tootip的content中不支持,用this.$router.push()代替
2. vue中防止跳转路由本身(自己跳转自己)router.js中添加以下代码片段
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}