diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 043764560..31c81689c 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -38,7 +38,7 @@ export default { other: false, library: false, list: [], - tabValue: "listOfCountries", + tabValue: "", menuName: ["国家/地区清单", "车型类别清单", "重点标准跟踪清单", "其他清单", "项目清单"] }; }, @@ -79,7 +79,22 @@ export default { } } }); - this.list = list + if(this.country === true){ + this.tabValue = "listOfCountries" + return; + }else if(this.project === true){ + this.tabValue = "listProject" + return; + }else if(this.tracking === true){ + this.tabValue = "listTracking" + return; + }else if(this.other === true){ + this.tabValue = "listOther" + return; + }else if(this.library === true){ + this.tabValue = "localProductsOrProjectLibrary" + return; + } }, beforeRouteLeave(to, from, next) { const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"];