摘要: 1.this.$router.push() 描述:跳转到不同的url,但这个方法会向history栈添加一个记录,点击后退会返回到上一个页面。 用法: this.$router.push('/index') this.$router.push({path:'/index'}) this.$route 阅读全文
posted @ 2020-11-30 19:55 骇客黑界 阅读(275) 评论(0) 推荐(0) 编辑