ソースを参照

Update index.vue (#250)

修复了商品分类无法切换的bug
1037621594 6 年 前
コミット
116664d7cb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      litemall-vue/src/views/items/category/index.vue

+ 1 - 1
litemall-vue/src/views/items/category/index.vue

@@ -64,7 +64,7 @@ export default {
     handleTabClick(index) {
       this.categoryId = this.navList[index].id;
       this.$router.replace({
-        name: 'list',
+        name: 'category',
         query: { itemClass: this.categoryId }
       });
       this.init();