删除vuex里存放的store里的tabs中的相应页面this.$store.state.user.tabs.splice(this.$store.state.user.tabs.findIndex(item => item.path === this.$route.path), 1)

返回上一页
this.$router.go(-1);

Logo

前往低代码交流专区

更多推荐