From c2b33c76a4daf28f382bf5181320964da904768e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 9 Nov 2021 16:19:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accessStandardsAndRegulations/index.vue | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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"];