添加标签无需再调用this.addTag
This commit is contained in:
parent
d74624c94c
commit
5418058bb4
|
|
@ -42,11 +42,6 @@ export default {
|
|||
title: `动态路由-${id}`
|
||||
}
|
||||
}
|
||||
this.addTag({
|
||||
route: route,
|
||||
type: 'push'
|
||||
})
|
||||
console.log(route)
|
||||
this.$router.push(route)
|
||||
},
|
||||
createTagQuery () {
|
||||
|
|
@ -60,10 +55,6 @@ export default {
|
|||
title: `参数-${id}`
|
||||
}
|
||||
}
|
||||
this.addTag({
|
||||
route: route,
|
||||
type: 'push'
|
||||
})
|
||||
this.$router.push(route)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue