-
router-link
to
跳转地址type
转化的标签类型active-class
激活状态
-
this.$router.push({path:})
path
跳转地址query
携带参数
-
this.$router.replace(path:'/')
与
push
类似
router-link
to
跳转地址type
转化的标签类型active-class
激活状态this.$router.push({path:})
path
跳转地址query
携带参数this.$router.replace(path:'/')
与 push
类似