路由跳转的四种方式 1 router-link // 声明式 2 this.$router.push() //编程式 3 this.$router.replace()//用法同push 4 this.$router.go(number)// this. r o u t e r . p u s h 跳 转 到 指 定 u r l 路 径 , 并 想 h i s t o r y 栈 中 添 加 一 个 记 录 , 点 击 后 退 会 返 回