Commit 1d7aad8d by yanju

首页热门博客

parent dacea92c
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
if(this.$route.query.type && this.$route.query.type!=='all' ){ if(this.$route.query.type && this.$route.query.type!=='all' ){
params.categoryId = this.$route.query.type params.categoryId = this.$route.query.type
} }
this.$axios.$get(config.api.get.Blog.list, {params:params}) this.$axios.$get(config.api.get.Blog.hotList, {params:params})
.then((response)=>{ .then((response)=>{
this.paginationState = 'over'; this.paginationState = 'over';
this.pages = response.data.totalPage; this.pages = response.data.totalPage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment