this.$router.push({path:'/index'}) 欢迎加入前端交流群交流知识&&获取视频资料:749539640 1 methods:{ 2 click(){ 3 if(data==1) 4 this.$router.push({path:"/home"}) 5 6 } 7 8 9 } 相关文章: 2022-12-23 1970-01-01 2022-12-23 2022-12-23 2022-12-23 2021-07-24 2021-12-04 2022-12-23