Vue——路由的跳转方式
-
router-linkto跳转地址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 类似