优化分类操作逻辑

This commit is contained in:
TOP糯米 2023-03-09 02:19:22 +08:00
parent 2e0e229c10
commit 035d0c68a4
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ export default {
.catch((e) => {}); .catch((e) => {});
}, },
clickItem(parentId, id) { clickItem(parentId, id) {
this.$store.commit("system/indexCateId", parentId);
this.$utils.toPage("/pages/service/list?id=" + id); this.$utils.toPage("/pages/service/list?id=" + id);
}, },
}, },