fix:修改不点击project 直接点击module列表 表格不显示的问题

This commit is contained in:
zhangyu
2021-01-14 11:49:54 +08:00
parent 1b75ab629c
commit 085073d0be
3 changed files with 6 additions and 9 deletions

View File

@@ -365,6 +365,9 @@
return;
}
this.currentProject = p;
if(p.id!==this.$store.state.currentProject.id){
bus.$emit("project-page-type", "project");
}
this.$store.commit("currentProjectChange", p);
this.activeItemIndex = p.id;
this.jumpTo('/project');