- 博客(1)
- 收藏
- 关注
原创 Vue返回并关闭当前页面
<p @click="back()>返回</p>back() { 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.visited.
2021-11-04 11:22:36 2441 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人