vuex.state.headerTab.tabs.splice(vuex.state.headerTab.tabs.findIndex(item=>item.path === this.$route.path),1)
this.$router.go(-1)
vue 跳转页面删除当前tab
于 2022-05-06 17:20:40 首次发布
vuex.state.headerTab.tabs.splice(vuex.state.headerTab.tabs.findIndex(item=>item.path === this.$route.path),1)
this.$router.go(-1)