首页项目列表展示

This commit is contained in:
2023-07-01 13:10:44 +08:00
parent 7d3c36babc
commit c5eba95ed7

View File

@@ -531,10 +531,17 @@ export default {
},
tabChange(tab) {
if(tab.name=="first"){
if(this.currentTabIndex!=null){
this. typeChangeFun(this.currentTabIndex);
}
this.ProjectLists();
}
else if (tab.name == "second") {
this.projectListsByCount(this.tabindex);
if (tab.name == "second") {
if(this.currentTabIndex!=null){
this.projectListsByCount(this.currentTabIndex);
}else {
this.projectListsByCount(this.tabindex);
}
}
},
@@ -555,6 +562,7 @@ export default {
},
typeChange(tab){
this.currentTabIndex=tab.index;
if(this.activeName==="first"){
this.typeChangeFun(tab.index);
}