fix 刷新按钮跳转错误的问题

This commit is contained in:
陈景阳
2020-01-07 04:36:54 +08:00
parent 5f3512b22b
commit 08f6398dff

View File

@@ -130,9 +130,10 @@ export default {
refreshSelectedTag (view) {
this.$store.dispatch('delCachedView', view).then(() => {
const { fullPath } = view
console.log('fullPath', fullPath)
this.$nextTick(() => {
this.$router.replace({
path: '/redirect' + fullPath
path: fullPath
})
})
})