From 36a6a97f35541735c1137ac33b8618668a806aed Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Tue, 12 Nov 2024 09:06:38 +0800 Subject: [PATCH] 1 --- src/components/header.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/header.vue b/src/components/header.vue index 8bdcfcf..8736ec8 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -109,7 +109,9 @@ const to = (url) => { }); if (url == "/home/index/map") { let menu = tools.data.get("menu"); - if(menu && menu.indexOf('ggfw:ystp') != -1){ + if(!menu || menu.indexOf('ggfw:ystp') == -1){ + + }else{ data.nowTab = url; data.menushow = false; }