this.$router.push({ | |
name: "essaydetail(页面跳转是根据name来的)", | |
params: { | |
cate: "cate-" + cate_id, | |
article: "detail-" + id + ".html", (这里面传的是自定义的内容,刷新参数就没了) |
|
}, | |
}); |
this.$router.push({ | |
path: "/article/search.html", | |
query: { keyword: keyword }, | |
}); |