Update index.vue (#250)

修复了商品分类无法切换的bug
This commit is contained in:
1037621594
2019-08-12 11:07:51 +08:00
committed by linlinjava
parent c04bf48664
commit 116664d7cb

View File

@@ -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();