handleReturn () {
this.$store.state.tagsView.visitedViews.splice(this.$store.state.tagsView.visitedViews.findIndex(item => item.path === this.$route.path), 1)
this.$router.push(this.$store.state.tagsView.visitedViews[this.$store.state.tagsView.visitedViews.length-1].path)
this.$destroy()
}
Vue若依框架点击返回关闭tags界面
最新推荐文章于 2024-06-29 13:03:41 发布