1// 调用全局挂载的方法 that.$store.dispatch('tagsView/delView', that.$route) // 返回上一步路由 that.$router.go(-1) 2 that.$store.dispatch('tagsView/delView', that.$route).then(() => { that.$router.push({name: 'MyToDo', query: new Date()}) });
vue关闭tab页
最新推荐文章于 2024-05-08 10:01:53 发布