优化逻辑

This commit is contained in:
2023-07-01 14:13:01 +08:00
parent 41416ac662
commit 95ea74f1d9

View File

@@ -533,9 +533,12 @@ export default {
if(tab.name=="first"){ if(tab.name=="first"){
if(this.currentTabIndex!=null){ if(this.currentTabIndex!=null){
this. typeChangeFun(this.currentTabIndex); this. typeChangeFun(this.currentTabIndex);
} }else {
this.ProjectLists(); this.ProjectLists();
} }
}
if (tab.name == "second") { if (tab.name == "second") {
if(this.currentTabIndex!=null){ if(this.currentTabIndex!=null){
this.projectListsByCount(this.currentTabIndex); this.projectListsByCount(this.currentTabIndex);