Browse Source

修复首页更多文章跳转参数错误bug

sir.k 6 years ago
parent
commit
1ee3944d4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index.vue

+ 1 - 1
pages/index.vue

@@ -424,7 +424,7 @@
         this.showIndex=index;
         this.showIndex=index;
       },
       },
       moreArt(){
       moreArt(){
-        this.$router.push({name:'lists',params:{id:'focus'}});
+        this.$router.push({path:'/lists',query:{id:'focus'}});
       },
       },
 
 
       changeLiftColData(columnId){
       changeLiftColData(columnId){